Files
Pulse/.devcontainer/Dockerfile
pulse-triage[bot] 8f1bd0b10d Refresh governed Node and Go container build inputs together
Reconcile the two digest-only dependency proposals on current main, retaining Node 24, Go 1.26.10 and all runtime bases. Update the exact pin proofs and bind the server, provider control plane, integration mock and distinct devcontainer image to the module compiler so a partial refresh cannot silently diverge.

Change-source: pulse-maintainer
2026-11-03 04:45:49 +00:00

25 lines
894 B
Docker

FROM golang:1.26.10@sha256:670bb5aa5349ae03b8516764718486f4f16399134bdc9acd0c46a23f043ab05c
# Set bash as default shell for features
SHELL ["/bin/bash", "-c"]
# Install dev tools needed for hot-dev.sh
RUN apt-get update && apt-get install -y bash git make curl vim sudo lsof inotify-tools && rm -rf /var/lib/apt/lists/*
# Create non-root user
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID
RUN groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME -s /bin/bash && echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && chmod 0440 /etc/sudoers.d/$USERNAME
# Set up Go environment for non-root user
ENV GOPATH=/go
ENV PATH=$GOPATH/bin:$PATH
RUN mkdir -p $GOPATH/pkg $GOPATH/bin && chown -R $USERNAME:$USERNAME $GOPATH
USER $USERNAME
WORKDIR /workspace
CMD ["/bin/bash"]