Skip to content

Commit

Permalink
adding go
Browse files Browse the repository at this point in the history
  • Loading branch information
entlein committed Nov 14, 2024
1 parent dd1b72b commit 4b3799a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockerfiles/debian_kind
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ ENV GOPATH="/home/user/go"
ENV PATH="${GOPATH}/bin:${PATH}"
RUN go install sigs.k8s.io/kind@v0.25.0

RUN useradd -m user && echo "user:password" | chpasswd && usermod -aG docker user
RUN useradd -m user && echo "user:password" | chpasswd && \
usermod -aG sudo user
# Ensure Docker can be run as a non-root user
RUN groupadd docker && usermod -aG docker user
COPY --chown=user:user ./examples /home/user/examples
Expand Down

0 comments on commit 4b3799a

Please sign in to comment.