Skip to content

Commit

Permalink
Dockerfile.e2e: builder: change output directory to simplify copy
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Apr 25, 2019
1 parent 3ededb8 commit b73e340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.e2e
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ARG DOCKER_GITCOMMIT
ENV DOCKER_GITCOMMIT=${DOCKER_GITCOMMIT:-undefined}
COPY . .
RUN hack/make.sh build-integration-test-binary
RUN mkdir -p /build/tests && find . -name test.main -exec cp --parents '{}' /build/tests \;
RUN mkdir -p /build/ && find . -name test.main -exec cp --parents '{}' /build \;

## Generate testing image
FROM alpine:3.9 as runner
Expand Down Expand Up @@ -77,4 +77,4 @@ COPY integration-cli/fixtures /tests/integration-cli/fixtures
COPY --from=frozen-images /build/ /docker-frozen-images
COPY --from=dockercli /build/ /usr/bin/
COPY --from=contrib /build/ /tests/contrib/
COPY --from=builder /build/tests /tests
COPY --from=builder /build/ /tests/

0 comments on commit b73e340

Please sign in to comment.