Skip to content

Commit

Permalink
Adding some stuff the image (#148)
Browse files Browse the repository at this point in the history
Signed-off-by: 6za <53096417+6za@users.noreply.github.com>
  • Loading branch information
6za authored Jul 22, 2022
1 parent e8f6502 commit dbe2aea
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ FROM --platform=linux/amd64 golang:1.18
WORKDIR /opt/kubefirst

RUN apt-get update && \
apt-get install -y unzip
apt-get install -y unzip curl jq vim unzip less \
&& rm -rf /var/lib/apt/lists/*


# enable terminal vi mode
RUN set -o vi

# Kubernetes client
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.21.3/bin/linux/amd64/kubectl && \
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.21.3/bin/$(uname -s)/amd64/kubectl && \
chmod +x ./kubectl && \
mv kubectl /usr/local/bin/

Expand All @@ -28,6 +29,11 @@ RUN curl -LO https://s3.us-west-2.amazonaws.com/amazon-eks/1.21.2/2021-07-05/bin
chmod +x aws-iam-authenticator && \
mv aws-iam-authenticator /usr/local/bin/

RUN go install github.com/spf13/cobra-cli@latest
RUN go install golang.org/x/tools/cmd/godoc@latest
RUN go install golang.org/x/lint/golint@latest


# setup user
RUN useradd -ms /bin/bash developer
USER developer
Expand Down

0 comments on commit dbe2aea

Please sign in to comment.