mirror of
https://github.com/shlinkio/shlink.git
synced 2026-10-12 21:31:58 -05:00
Ensured all composer-related files are deleted from docker image
This commit is contained in:
1 parent
6433a67d52
commit
b927e44107
1 file changed
+1
-1
+1
-1
@@ -35,7 +35,7 @@ RUN rm -rf ./docker && \
|
|||||||
wget https://getcomposer.org/download/${COMPOSER_VERSION}/composer.phar && \
|
wget https://getcomposer.org/download/${COMPOSER_VERSION}/composer.phar && \
|
||||||
php composer.phar install --no-dev --optimize-autoloader --no-progress --no-interaction && \
|
php composer.phar install --no-dev --optimize-autoloader --no-progress --no-interaction && \
|
||||||
php composer.phar clear-cache && \
|
php composer.phar clear-cache && \
|
||||||
rm composer.phar
|
rm composer.*
|
||||||
|
|
||||||
# Add shlink to the path to ease running it after container is created
|
# Add shlink to the path to ease running it after container is created
|
||||||
RUN ln -s /etc/shlink/bin/cli /usr/local/bin/shlink
|
RUN ln -s /etc/shlink/bin/cli /usr/local/bin/shlink
|
||||||
|
|||||||
Reference in new issue
Block a user