diff --git a/integration/dockerfiles/Dockerfile_test_issue_519 b/integration/dockerfiles/Dockerfile_test_issue_519 new file mode 100644 index 000000000..40d2d653d --- /dev/null +++ b/integration/dockerfiles/Dockerfile_test_issue_519 @@ -0,0 +1,12 @@ +FROM alpine as base_stage +RUN echo base_stage +RUN touch meow.txt + +FROM base_stage as BUG_stage +RUN echo BUG_stage +RUN touch purr.txt + + +FROM BUG_stage as final_stage +RUN echo final_stage +RUN touch mew.txt diff --git a/integration/dockerfiles/Dockerfile_test_issue_647 b/integration/dockerfiles/Dockerfile_test_issue_647 new file mode 100644 index 000000000..019650229 --- /dev/null +++ b/integration/dockerfiles/Dockerfile_test_issue_647 @@ -0,0 +1,12 @@ +FROM alpine:3.8 AS foo +RUN mkdir /foo +WORKDIR /foo +RUN mkdir some_dir +RUN touch some_file +RUN chmod 777 some_dir +RUN chmod 666 some_file +RUN ls -l + +FROM alpine:3.8 +COPY --from=foo /foo /bar +RUN ls -l /bar diff --git a/integration/dockerfiles/Dockerfile_test_issue_684 b/integration/dockerfiles/Dockerfile_test_issue_684 new file mode 100644 index 000000000..59311584e --- /dev/null +++ b/integration/dockerfiles/Dockerfile_test_issue_684 @@ -0,0 +1,3 @@ +FROM ubuntu:rolling as builder + +RUN apt-get update && apt-get -y upgrade && apt-get -y install lib32stdc++6 wget diff --git a/integration/dockerfiles/Dockerfile_test_issue_704 b/integration/dockerfiles/Dockerfile_test_issue_704 new file mode 100644 index 000000000..17864adaf --- /dev/null +++ b/integration/dockerfiles/Dockerfile_test_issue_704 @@ -0,0 +1,5 @@ +FROM alpine + +RUN mkdir -p /some/dir/ && echo 'first' > /some/dir/first.txt + +RUN rm /some/dir/first.txt