File tree Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 4949 file : ./Dockerfile
5050 build-args : |
5151 COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52- COMPOSER_ALLOW_SUPERUSER: 1
5352 PHP_VERSION=${{ matrix.php }}
5453 push : true
5554 tags : " netcommons3/nc3app-php${{ matrix.php }}:latest"
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ RUN echo ' insteadOf = "git://github.com/"' >> ~/.gitconfig
8888RUN git clone -b master git://github.com/NetCommons3/NetCommons3 /opt/nc3.dist
8989# RUN git clone -b master https://github.com/NetCommons3/NetCommons3 /opt/nc3.dist
9090
91+ ENV COMPOSER_ALLOW_SUPERUSER=1
9192RUN cd /opt/nc3.dist && \
9293composer config github-oauth.github.com ${COMPOSER_TOKEN}
9394
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ echo "PLUGIN_BUILD_DIR=${PLUGIN_BUILD_DIR}"
1313# -----------------------
1414# Exec composer install
1515# -----------------------
16+ export COMPOSER_ALLOW_SUPERUSER=1
1617
1718if [ ! " ${COMPOSER_TOKEN} " = " " ]; then
1819 composer config github-oauth.github.com ${COMPOSER_TOKEN}
You can’t perform that action at this time.
0 commit comments