diff --git a/Dockerfile b/Dockerfile index 580c273e..987fb0b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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