Skip to content

Commit

Permalink
build(bci): bump BCI to 15.5
Browse files Browse the repository at this point in the history
And Upgrade golang to v1.20.10 and switch back to bci/golang image.
  • Loading branch information
orangedeng committed Nov 14, 2023
1 parent 4d629e2 commit a628783
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.suse.com/bci/bci-base:15.3
FROM registry.suse.com/bci/bci-base:15.5
ARG TARGETPLATFORM
ARG TARGETARCH
ARG TARGETOS
Expand Down
9 changes: 2 additions & 7 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
# FROM registry.suse.com/bci/golang:1.20
FROM registry.suse.com/bci/bci-base:latest
FROM registry.suse.com/bci/golang:1.20
# confirm that suse bci golang version upgraded to 1.20.10 after 2023-11-14
ARG PROXY
ARG GOPROXY
ARG ARCH=amd64
ARG GO_VERSION=1.20.8
RUN curl -sSL https://go.dev/dl/go${GO_VERSION}.linux-${ARCH}.tar.gz -o /tmp/go.tar.gz \
&& rm -rf /usr/local/go && tar -C /usr/local -xzf /tmp/go.tar.gz \
&& /usr/local/go/bin/go version
ENV GOPATH=/go PATH=/go/bin:/usr/local/go/bin:/root/go/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN zypper -n install netcat wget curl gawk git make
RUN zypper install -y -f docker
## install golangci-lint
Expand Down

0 comments on commit a628783

Please sign in to comment.