Update dolideb/Dockerfile

This commit is contained in:
mezned 2024-08-19 14:28:35 +02:00
parent 4725b8ee90
commit 4fc2415a89

View File

@ -4,10 +4,10 @@ FROM $BUILD_FROM
ENV LANG C.UTF-8
# Install DoliDeb
RUN apt-get update && \
apt-get install -y dolibarr && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN apk add --no-cache apache2 php php-mysqli php-curl php-json php-session php-xml php-mbstring php-gd php-intl php-zip curl bash \
&& curl -LO https://sourceforge.net/projects/dolibarr/files/latest/download -o dolibarr.tar.gz \
&& tar xzf dolibarr.tar.gz -C /var/www/localhost/htdocs/ \
&& rm dolibarr.tar.gz
# Copy the run script
COPY run.sh /run.sh