From 9f3410505a81d185f76c1a9f69c3956bca24e4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 27 Feb 2021 11:55:30 +0200 Subject: [PATCH] Dockerfile: use COPY consistently Replaces ADD directives with COPY --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index caf7214..8044e33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -137,7 +137,7 @@ RUN mkdir -p /etc/laminas-ci/problem-matcher \ && wget https://raw.githubusercontent.com/shivammathur/setup-php/master/src/configs/phpunit.json \ && wget -O markdownlint.json https://raw.githubusercontent.com/xt0rted/markdownlint-problem-matcher/main/.github/problem-matcher.json -ADD markdownlint.json /etc/laminas-ci/markdownlint.json +COPY markdownlint.json /etc/laminas-ci/markdownlint.json COPY --from=composer /usr/bin/composer /usr/bin/composer @@ -145,7 +145,7 @@ RUN mkdir -p /usr/local/share/composer \ && composer global require staabm/annotate-pull-request-from-checkstyle \ && ln -s /usr/local/share/composer/vendor/bin/cs2pr /usr/local/bin/cs2pr -ADD entrypoint.sh /usr/local/bin/entrypoint.sh +COPY entrypoint.sh /usr/local/bin/entrypoint.sh RUN useradd -ms /bin/bash testuser