Skip to content

Commit

Permalink
remove download golang in dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
MuweiHe committed May 17, 2023
1 parent 7ad2551 commit 95cdea9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions dockerfiles/Dockerfile_linux_glibc_arm64
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ FROM --platform=linux/arm64/v8 050879227952.dkr.ecr.us-west-1.amazonaws.com/conf

COPY . /go/src/github.com/confluentinc/cli/

RUN export GO_VERSION=1.18 && \
wget "https://go.dev/dl/go${GO_VERSION}.linux-arm64.tar.gz" && \
sudo tar -C /usr/local -xzf "go${GO_VERSION}.linux-arm64.tar.gz"

ENV PATH=${PATH}:/usr/local/go/bin:/root/go/bin

RUN go install github.com/goreleaser/[email protected]

RUN cd /go/src/github.com/confluentinc/cli && \
make gorelease-linux-glibc-arm64

Expand Down
8 changes: 0 additions & 8 deletions dockerfiles/Dockerfile_linux_glibc_arm64_from_amd64
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ FROM --platform=linux/amd64 050879227952.dkr.ecr.us-west-1.amazonaws.com/conflue

COPY . /go/src/github.com/confluentinc/cli/

RUN export GO_VERSION=1.18 && \
wget "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" && \
sudo tar -C /usr/local -xzf "go${GO_VERSION}.linux-amd64.tar.gz"

ENV PATH=${PATH}:/usr/local/go/bin:/root/go/bin

RUN go install github.com/goreleaser/[email protected]

RUN cd /go/src/github.com/confluentinc/cli && \
make gorelease-linux-glibc-arm64

Expand Down

0 comments on commit 95cdea9

Please sign in to comment.