Skip to content

Commit 9ec33ec

Browse files
committed
Updata docker.
1 parent fbbe035 commit 9ec33ec

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

.github/workflows/build_docker_images.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
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"

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ RUN echo ' insteadOf = "git://github.com/"' >> ~/.gitconfig
8888
RUN 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
9192
RUN cd /opt/nc3.dist && \
9293
composer config github-oauth.github.com ${COMPOSER_TOKEN}
9394

scripts/app-build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

1718
if [ ! "${COMPOSER_TOKEN}" = "" ]; then
1819
composer config github-oauth.github.com ${COMPOSER_TOKEN}

0 commit comments

Comments
 (0)