Skip to content

Commit

Permalink
set COMPOSER_ALLOW_SUPERUSER=1 in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Mar 8, 2024
1 parent d75ecf6 commit d0f4590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update -y \
php-gmp \
php-memcached \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*

# Create required directories
RUN mkdir -p /data
Expand Down Expand Up @@ -41,7 +41,7 @@ COPY composer.lock /data/
# It is not well understood what changed in composer, but since the overrides will need to be redesigned during
# the SimpleSAMLphp 2.x upgrade, this issue is deferred until then.
#RUN composer self-update --no-interaction
RUN composer install --prefer-dist --no-interaction --no-dev --optimize-autoloader --no-scripts --no-progress
RUN COMPOSER_ALLOW_SUPERUSER=1 composer install --prefer-dist --no-interaction --no-dev --optimize-autoloader --no-scripts --no-progress

# Copy in SSP override files
ENV SSP_PATH /data/vendor/simplesamlphp/simplesamlphp
Expand Down

0 comments on commit d0f4590

Please sign in to comment.