temp
Some checks failed
ci/woodpecker/manual/build Pipeline failed

This commit is contained in:
Ruben Momoa
2024-08-20 14:14:16 +02:00
parent f477835dc3
commit 34000c324a

View File

@@ -13,20 +13,20 @@ ENV NVM_DIR="/home/$USERNAME/.nvm"
COPY start-container.sh /usr/local/bin/start-container
RUN export DEBIAN_FRONTEND=noninteractive \
RUN apt-get -y update \
RUN apt-get install -y curl git 7zip php php-xml php-curl php-xml php-mbstring php-mysql php-gd \
RUN useradd --create-home --uid=$USER_UID $USERNAME \
RUN chmod +x /usr/local/bin/start-container \
RUN echo "install composer" \
RUN curl -o composer-setup.php https://getcomposer.org/installer \
RUN curl -o composer-setup.sig https://composer.github.io/installer.sig \
RUN echo " composer-setup.php" >> composer-setup.sig \
RUN sha384sum -c composer-setup.sig \
RUN if [ -n "$COMPOSER_VERSION" ]; then COMPOSER_VERSION="--${COMPOSER_VERSION}"; fi \
RUN php composer-setup.php --install-dir=/usr/local/bin --filename=composer $COMPOSER_VERSION \
RUN rm composer-setup.php composer-setup.sig /var/www/html/* \
RUN chown $USERNAME:$USERNAME /var/www/html \
RUN export DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update
RUN apt-get install -y curl git 7zip php php-xml php-curl php-xml php-mbstring php-mysql php-gd
RUN useradd --create-home --uid=$USER_UID $USERNAME
RUN chmod +x /usr/local/bin/start-container
RUN echo "install composer"
RUN curl -o composer-setup.php https://getcomposer.org/installer
RUN curl -o composer-setup.sig https://composer.github.io/installer.sig
RUN echo " composer-setup.php" >> composer-setup.sig
RUN sha384sum -c composer-setup.sig
RUN if [ -n "$COMPOSER_VERSION" ]; then COMPOSER_VERSION="--${COMPOSER_VERSION}"; fi
RUN php composer-setup.php --install-dir=/usr/local/bin --filename=composer $COMPOSER_VERSION
RUN rm composer-setup.php composer-setup.sig /var/www/html/*
RUN chown $USERNAME:$USERNAME /var/www/html
EXPOSE 8080