mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-09-30 16:11:41 +02:00
* Add parent directories of adding files * Add integration Dockerfile to test parent directory permissions * Remove unnecessary helper method * Use a file on the internet for integration Dockerfile
9 lines
296 B
Plaintext
9 lines
296 B
Plaintext
FROM busybox
|
|
|
|
RUN adduser --disabled-password --gecos "" --uid 1000 user
|
|
RUN mkdir -p /home/user/foo
|
|
RUN chown -R user /home/user
|
|
RUN chmod 700 /home/user/foo
|
|
ADD https://raw.githubusercontent.com/GoogleContainerTools/kaniko/master/README.md /home/user/foo/README.md
|
|
RUN chown -R user /home/user
|