align
This commit is contained in:
parent
2ed1b390d7
commit
88e1b4424a
@ -32,9 +32,9 @@ FROM base AS build
|
|||||||
ENV GO111MODULE=auto
|
ENV GO111MODULE=auto
|
||||||
ENV CGO_ENABLED=1
|
ENV CGO_ENABLED=1
|
||||||
RUN --mount=type=bind,target=/src \
|
RUN --mount=type=bind,target=/src \
|
||||||
--mount=type=cache,target=/root/.cache/go-build \
|
--mount=type=cache,target=/root/.cache/go-build \
|
||||||
--mount=type=cache,target=/go/pkg/mod \
|
--mount=type=cache,target=/go/pkg/mod \
|
||||||
go build -o /go/bin/registry ./cmd/registry
|
go build -o /go/bin/registry ./cmd/registry
|
||||||
|
|
||||||
FROM bci/bci-micro
|
FROM bci/bci-micro
|
||||||
COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml
|
COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user