3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

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

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