mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-05 23:21:48 +02:00
* integration test refactoring * config file cleanup * more test refactoring * remove debug file * moving around more files * fixing up integration tests * integration tests work * some housekeeping * fixing tests * addressing comments * debugging * debugging * actual debugging * skip integration tests for travis * install container-diff before integration tests * syntax * make test failures less noisy * fixing tests * hopefully fixing CI? * fixes * more fixes * let's actually fix CI * more testing * testing * proper auth * typos * adding support for args in integration tests * formatting * formatting * adding support for testing bucket context * adding bucket test dockerfile * addressing comments * syntax
15 lines
358 B
Plaintext
15 lines
358 B
Plaintext
FROM scratch
|
|
# First, make sure simple arg replacement works
|
|
ARG file
|
|
COPY $file /foo
|
|
# Check that setting a default value works
|
|
ARG file2=context/bar/bat
|
|
COPY $file2 /bat
|
|
# Check that overriding a default value works
|
|
ARG file3=context/bar/baz
|
|
COPY $file3 /baz
|
|
# Check that setting an ENV will override the ARG
|
|
ENV file context/bar/bam/bat
|
|
COPY $file /env
|
|
|