diff --git a/Dockerfile.buildx b/Dockerfile.buildx index 30b1550912..c8cf73e9c0 100644 --- a/Dockerfile.buildx +++ b/Dockerfile.buildx @@ -2,7 +2,7 @@ ARG GO_VERSION=1.13.12 ARG BUILDX_COMMIT=v0.3.1 ARG BUILDX_REPO=https://github.com/docker/buildx.git -FROM golang:${GO_VERSION}-stretch AS build +FROM golang:${GO_VERSION}-buster AS build ARG BUILDX_REPO RUN git clone "${BUILDX_REPO}" /buildx WORKDIR /buildx @@ -21,6 +21,6 @@ RUN GOOS="${GOOS}" GOARCH="${GOARCH}" BUILDX_COMMIT="${BUILDX_COMMIT}"; \ "; \ go build -mod=vendor -ldflags "${ldflags}" -o /usr/bin/buildx ./cmd/buildx -FROM golang:${GO_VERSION}-stretch +FROM golang:${GO_VERSION}-buster COPY --from=build /usr/bin/buildx /usr/bin/buildx ENTRYPOINT ["/usr/bin/buildx"] diff --git a/Dockerfile.simple b/Dockerfile.simple index ea9b73532d..0a602e53ab 100644 --- a/Dockerfile.simple +++ b/Dockerfile.simple @@ -7,7 +7,7 @@ ARG GO_VERSION=1.13.12 -FROM golang:${GO_VERSION}-stretch +FROM golang:${GO_VERSION}-buster ENV GO111MODULE=off # allow replacing httpredir or deb mirror