瀏覽代碼

Merge pull request #40630 from cpuguy83/fix_make_shell

Fix `make shell`
Sebastiaan van Stijn 5 年之前
父節點
當前提交
8d0b2a044f
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Dockerfile

+ 3 - 1
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