Browse code

Dockerfile.e2e: builder: change output directory to simplify copy

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

Sebastiaan van Stijn authored on 2019/04/19 23:26:53
Showing 1 changed files
... ...
@@ -44,7 +44,7 @@ ARG DOCKER_GITCOMMIT
44 44
 ENV DOCKER_GITCOMMIT=${DOCKER_GITCOMMIT:-undefined}
45 45
 COPY . .
46 46
 RUN hack/make.sh build-integration-test-binary
47
-RUN mkdir -p /build/tests && find . -name test.main -exec cp --parents '{}' /build/tests \;
47
+RUN mkdir -p /build/ && find . -name test.main -exec cp --parents '{}' /build \;
48 48
 
49 49
 ## Generate testing image
50 50
 FROM alpine:3.9 as runner
... ...
@@ -77,4 +77,4 @@ COPY integration-cli/fixtures   /tests/integration-cli/fixtures
77 77
 COPY --from=frozen-images /build/ /docker-frozen-images
78 78
 COPY --from=dockercli     /build/ /usr/bin/
79 79
 COPY --from=contrib       /build/ /tests/contrib/
80
-COPY --from=builder /build/tests /tests
80
+COPY --from=builder       /build/ /tests/