mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-09-30 19:44:24 +02:00
- Change integration tests to use docker hub instead of GCR due to bug in library that requires authentication with gcr.io even for public images. See #966 for bug tracking this. - Make uploading to GCS bucket configurable through a flag --uploadToGCS - Utilize a locally deployed docker registry in travis CI to remove dependency of needing to authenticate with GCP. This requires host networking such that we can access the registry on localhost:5000 - Use the commit that's being tested for `TestGitBuildcontext` - Remove duplicate GitBuildContext case that's now covered by default in travis CI.
18 lines
419 B
Plaintext
18 lines
419 B
Plaintext
FROM debian:9.11
|
|
COPY context/foo foo
|
|
WORKDIR /test
|
|
# Test that this will be appended on to the previous command, to create /test/workdir
|
|
WORKDIR workdir
|
|
COPY context/foo ./currentfoo
|
|
# Test that the RUN command will happen in the correct directory
|
|
RUN cp currentfoo newfoo
|
|
WORKDIR /new/dir
|
|
ENV dir /another/new/dir
|
|
WORKDIR $dir/newdir
|
|
WORKDIR $dir/$doesntexist
|
|
WORKDIR /
|
|
|
|
# Test with ARG
|
|
ARG workdir
|
|
WORKDIR $workdir
|