Merge pull request #12731 from thibaultfaure/article/BAEL-5494-Dockerfile-Copy

BAEL-5494 code for the Keep Subdirectory Structure in Dockerfile Copy…
This commit is contained in:
davidmartinezbarua 2022-09-22 23:27:38 -03:00 committed by GitHub
commit 94020c4857
3 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,3 @@
FROM ubuntu:latest
COPY folder1/ folder2/ /workdir/
RUN ls --recursive /workdir/

View File

@ -0,0 +1,3 @@
FROM ubuntu:latest
COPY folder1/ /workdir/
RUN ls --recursive /workdir/

View File

@ -0,0 +1,5 @@
FROM ubuntu:latest
COPY folder1/ /workdir/
RUN ls --recursive /workdir/
COPY folder2/ /workdir/
RUN ls --recursive /workdir/