Skip to content

Commit ff72216

Browse files
committed
Installing composer needs root, but running composer does not
1 parent 8b7a107 commit ff72216

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ RUN touch /data/SilMock/DataStore/Sqlite/Test1_Google_Service_Data.db && \
5555
chmod 664 /data/SilMock/tests/.phpunit.result.cache
5656

5757
WORKDIR /data
58-
RUN ./composer-install.sh \
59-
&& mv /data/composer.phar /usr/bin/composer \
60-
&& /usr/bin/composer install
58+
RUN ./composer-install.sh
59+
RUN mv /data/composer.phar /usr/bin/composer
6160
USER nonroot
61+
RUN /usr/bin/composer install

0 commit comments

Comments
 (0)