no need to install packages, they are part of golang image

This commit is contained in:
Frederic Crozat 2022-09-12 10:34:54 +02:00
parent 52284461ac
commit faa8d94a29

View File

@ -12,7 +12,7 @@ FROM crazymax/goreleaser-xx:${GORELEASER_XX_VERSION} AS goreleaser-xx
#FROM $BCI_GO:$GO_VERSION AS base
FROM registry.suse.com/bci/golang:1.18 AS base
COPY --from=goreleaser-xx / /
RUN zypper --non-interactive install -y file git-core
#RUN zypper --non-interactive install -y file git-core
WORKDIR /src
FROM base AS build