diff --git a/dolideb/Dockerfile b/dolideb/Dockerfile index 3e86a84..662c844 100644 --- a/dolideb/Dockerfile +++ b/dolideb/Dockerfile @@ -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