Set COMPOSER_ALLOW_SUPERUSER=1 to allow plugins to run as root/super user #799

This commit is contained in:
Michael Stenta 2024-02-13 13:06:59 -05:00
parent fb6fd0d0bc
commit 619b84791d
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ RUN apt-get update && apt-get install -y \
# Set the COMPOSER_MEMORY_LIMIT environment variable to unlimited.
ENV COMPOSER_MEMORY_LIMIT=-1
# Set COMPOSER_ALLOW_SUPERUSER=1 to allow plugins to run as root/super user.
ENV COMPOSER_ALLOW_SUPERUSER=1
# Add the build-farmOS.sh script.
COPY build-farmOS.sh /usr/local/bin/
RUN chmod a+x /usr/local/bin/build-farmOS.sh