Update Dockerfile.bci

Signed-off-by: Marco Varlese <marco.varlese@suse.com>
This commit is contained in:
Marco Varlese 2022-02-14 14:19:31 +01:00
parent 76e6520d86
commit a19707bf75

View File

@ -4,7 +4,7 @@ ARG GO_VERSION=1.17
ARG GORELEASER_XX_VERSION=1.2.5 ARG GORELEASER_XX_VERSION=1.2.5
FROM crazymax/goreleaser-xx:${GORELEASER_XX_VERSION} AS goreleaser-xx FROM crazymax/goreleaser-xx:${GORELEASER_XX_VERSION} AS goreleaser-xx
FROM registry.suse.com/bci/golang:1.17 AS base FROM registry.suse.com/bci/golang:${GO_VERSION} AS base
COPY --from=goreleaser-xx / / COPY --from=goreleaser-xx / /
RUN zypper --non-interactive install -y file git RUN zypper --non-interactive install -y file git
WORKDIR /src WORKDIR /src