Browse code

Dockerfile.e2e: use /build to be consistent with main Dockerfile

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 045beed6c8906763b020dfae75682bef80337739)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/04/19 23:22:53
Showing 1 changed files
... ...
@@ -36,11 +36,11 @@ ENV DOCKER_GITCOMMIT=${DOCKER_GITCOMMIT:-undefined}
36 36
 COPY . .
37 37
 
38 38
 # Build DockerSuite.TestBuild* dependency
39
-RUN CGO_ENABLED=0 go build -buildmode=pie -o /output/httpserver github.com/docker/docker/contrib/httpserver
39
+RUN CGO_ENABLED=0 go build -buildmode=pie -o /build/httpserver github.com/docker/docker/contrib/httpserver
40 40
 
41
-# Build the integration tests and copy the resulting binaries to /output/tests
41
+# Build the integration tests and copy the resulting binaries to /build/tests
42 42
 RUN hack/make.sh build-integration-test-binary
43
-RUN mkdir -p /output/tests && find . -name test.main -exec cp --parents '{}' /output/tests \;
43
+RUN mkdir -p /build/tests && find . -name test.main -exec cp --parents '{}' /build/tests \;
44 44
 
45 45
 ## Generate testing image
46 46
 FROM alpine:3.9 as runner
... ...
@@ -73,6 +73,6 @@ COPY integration/build/testdata /tests/integration/build/testdata
73 73
 COPY integration-cli/fixtures   /tests/integration-cli/fixtures
74 74
 
75 75
 COPY --from=frozen-images /build/ /docker-frozen-images
76
-COPY --from=builder /output/httpserver /tests/contrib/httpserver/httpserver
77
-COPY --from=builder /output/tests /tests
76
+COPY --from=builder /build/httpserver /tests/contrib/httpserver/httpserver
77
+COPY --from=builder /build/tests /tests
78 78
 COPY --from=builder /usr/local/bin/docker /usr/bin/docker