diff --git a/Dockerfile b/Dockerfile index 13d2f69794..4e8d1f568d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -341,6 +341,8 @@ RUN mkdir -p hack \ && chmod +x hack/dind-systemd ENTRYPOINT ["hack/dind-systemd"] +FROM dev-systemd-${SYSTEMD} AS dev + FROM runtime-dev AS binary-base ARG DOCKER_GITCOMMIT=HEAD ENV DOCKER_GITCOMMIT=${DOCKER_GITCOMMIT} @@ -392,5 +394,5 @@ COPY --from=build-dynbinary /build/bundles/ / FROM scratch AS cross COPY --from=build-cross /build/bundles/ / -FROM dev-systemd-${SYSTEMD} AS final +FROM dev AS final COPY . /go/src/github.com/docker/docker