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:
parent
fb6fd0d0bc
commit
619b84791d
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ RUN apt-get update && apt-get install -y \
|
||||||
# Set the COMPOSER_MEMORY_LIMIT environment variable to unlimited.
|
# Set the COMPOSER_MEMORY_LIMIT environment variable to unlimited.
|
||||||
ENV COMPOSER_MEMORY_LIMIT=-1
|
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.
|
# Add the build-farmOS.sh script.
|
||||||
COPY build-farmOS.sh /usr/local/bin/
|
COPY build-farmOS.sh /usr/local/bin/
|
||||||
RUN chmod a+x /usr/local/bin/build-farmOS.sh
|
RUN chmod a+x /usr/local/bin/build-farmOS.sh
|
||||||
|
|
Loading…
Reference in a new issue