diff --git a/Dockerfile b/Dockerfile index 12f79ec..ddae31e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,27 +1,30 @@ # syntax=docker/dockerfile:1 FROM dlang2/dmd-ubuntu -WORKDIR /app -COPY . . -RUN --mount=type=cache,target=/root/.dub dub build -RUN ln -s /app/myrc /usr/local/bin/myrc +COPY . /app +RUN --mount=type=cache,target=/root/.dub < $example_dir_2/wrong_location1 +EOF USER dlang - -WORKDIR $example_dir_1 -COPY test . - -WORKDIR $example_dir_2 -RUN echo "echo wrong location 1" > wrong_location1 - WORKDIR /home/dlang -RUN ln -s $example_dir_1/zshrc ~/.zshrc -RUN ln -s ./dotfiles/example1/ls_colors ~/.ls_colors -RUN ln -s $example_dir_2/wrong_location1 ~/.zshenv -WORKDIR $example_dir_1 +RUN <