16 lines
436 B
Docker
16 lines
436 B
Docker
ARG BUILD_FROM
|
|
FROM $BUILD_FROM
|
|
|
|
ENV LANG C.UTF-8
|
|
|
|
# Install DoliDeb
|
|
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 -L https://sourceforge.net/projects/dolibarr/files/latest/download | tar -xzf - -C /var/www/localhost/htdocs/ \
|
|
&& rm dolibarr.tar.gz
|
|
|
|
# Copy the run script
|
|
COPY run.sh /run.sh
|
|
RUN chmod a+x /run.sh
|
|
|
|
CMD [ "/run.sh" ]
|