Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

Dockerfile: use COPY consistently #7

Merged
merged 1 commit into from
Mar 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,15 @@ 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

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

Expand Down