Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkfella committed Nov 18, 2024
2 parents 163a3a3 + ad89a95 commit ec24a47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID

ENV SHELL=/bin/bash

WORKDIR /tmp

RUN apk add --no-cache \
Expand All @@ -22,6 +24,7 @@ RUN apk add --no-cache \
unzip && \
addgroup -g $USER_GID $USERNAME && \
adduser -u $USER_UID -G $USERNAME -s /bin/sh -D $USERNAME && \
echo 'eval "$(direnv hook bash)"' >> /home/$USERNAME/.bashrc && \
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256" && \
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check --strict && \
Expand Down

0 comments on commit ec24a47

Please sign in to comment.