This commit is contained in:
Frederic Crozat 2022-09-14 09:46:04 +02:00
parent 2ed1b390d7
commit 88e1b4424a

View File

@ -32,9 +32,9 @@ FROM base AS build
ENV GO111MODULE=auto
ENV CGO_ENABLED=1
RUN --mount=type=bind,target=/src \
--mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \
go build -o /go/bin/registry ./cmd/registry
--mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \
go build -o /go/bin/registry ./cmd/registry
FROM bci/bci-micro
COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml