Skip to content

Commit

Permalink
fix: fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
strivedi-px committed Jun 6, 2024
1 parent b367cc2 commit 0fbab55
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions test/integration_test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM golang:1.17.0
FROM golang:1.21.10

# Install dependancies
RUN apt-get update && \
RUN apt-get update && \
/usr/local/go/bin/go install -v gotest.tools/gotestsum@latest

RUN apt-get update && apt-get install -y python3-pip && apt-get install -y jq

RUN pip3 install --upgrade pip
RUN apt-get update && \
apt-get install -y pipx jq && \
pipx ensurepath

#Install Google Cloud SDK
ARG GCLOUD_SDK=google-cloud-sdk-418.0.0-linux-x86_64.tar.gz
Expand All @@ -20,14 +20,13 @@ ENV PATH "${PATH}:$GCLOUD_INSTALL_DIR/google-cloud-sdk/bin"
RUN gcloud components install gke-gcloud-auth-plugin

RUN wget -O /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-07-26/bin/linux/amd64/aws-iam-authenticator && \
chmod +x /usr/local/bin/aws-iam-authenticator

RUN pip3 install awscli
chmod +x /usr/local/bin/aws-iam-authenticator && \
pipx install awscli

# Install kubectl
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
RUN chmod +x ./kubectl
RUN mv ./kubectl /usr/local/bin
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
chmod +x ./kubectl && \
mv ./kubectl /usr/local/bin

WORKDIR /

Expand Down

0 comments on commit 0fbab55

Please sign in to comment.