Files
kaniko/integration/dockerfiles/Dockerfile_test_target
T
priyawadhwa cac00b9cb2 Add --target flag for multistage builds (#255)
* Add --target flag for multistage builds

* change validate to validateTarget
2018-07-30 09:43:23 -07:00

11 lines
190 B
Plaintext

FROM gcr.io/distroless/base:latest as base
COPY . .
FROM scratch as second
ENV foopath context/foo
COPY --from=0 $foopath context/b* /foo/
FROM base
ARG file
COPY --from=second /foo $file