Skip to content

Commit

Permalink
disable composer self-update due to a breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Feb 22, 2024
1 parent 48d099e commit b31c471
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ WORKDIR /data
# Install/cleanup composer dependencies
COPY composer.json /data/
COPY composer.lock /data/
RUN composer self-update --no-interaction
# Disabled the self-update due to a breaking change between composer 2.6.6 and 2.7.1 that affects the loading
# of the simplesamlphp/simplesamlphp/modules folder. The Docker build fails on the sildisco/sspoverrides line.
# 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

# Copy in SSP override files
Expand Down

0 comments on commit b31c471

Please sign in to comment.