Commit 766c5987 authored by Tobias Munk's avatar Tobias Munk

removed composer & Yii from Debian version

parent 4533bd6e
Pipeline #20658 passed with stages
in 2 minutes and 48 seconds
......@@ -55,8 +55,6 @@ ENV PHP_USER_ID=33 \
PHP_ENABLE_XDEBUG=0 \
VERSION_COMPOSER_ASSET_PLUGIN=^1.2.0 \
VERSION_PRESTISSIMO_PLUGIN=^0.3.0 \
VERSION_CODECEPTION=^2.2.6 \
VERSION_YII2=^2.0.9 \
PATH=/app:/app/vendor/bin:/root/.composer/vendor/bin:$PATH \
TERM=linux \
COMPOSER_ALLOW_SUPERUSER=1
......@@ -78,25 +76,6 @@ RUN curl -sS https://getcomposer.org/installer | php -- \
"hirak/prestissimo:${VERSION_PRESTISSIMO_PLUGIN}" && \
composer global dumpautoload --optimize
# Install CLI packages required for Yii 2.0 Framework globally
RUN composer global require --prefer-dist \
"codeception/codeception:${VERSION_CODECEPTION}" \
"codeception/specify:*" \
"codeception/verify:*" && \
composer global dumpautoload --optimize
# Install Yii 2.0 Framework libraries globally (for build caching)
RUN composer global require --prefer-dist \
"yiisoft/yii2:${VERSION_YII2}" \
"yiisoft/yii2-bootstrap" \
"yiisoft/yii2-codeception" \
"yiisoft/yii2-gii" \
"yiisoft/yii2-debug" && \
composer global dumpautoload --optimize
# TODO: this is a workaround
RUN composer config --global --unset github-oauth.github.com
WORKDIR /app
# Startup script for FPM
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment