Update dolideb/Dockerfile
This commit is contained in:
parent
7928ed50c6
commit
b4dad6f57f
@ -4,7 +4,16 @@ FROM $BUILD_FROM
|
|||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
|
|
||||||
# Install DoliDeb
|
# Install DoliDeb
|
||||||
RUN apk add --no-cache apache2 dolibarr
|
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 -o dolibarr.tar.gz https://sourceforge.net/projects/dolibarr/files/latest/download && \
|
||||||
|
if [ -f "dolibarr.tar.gz" ]; then \
|
||||||
|
tar xzf dolibarr.tar.gz -C /var/www/localhost/htdocs/; \
|
||||||
|
rm dolibarr.tar.gz; \
|
||||||
|
else \
|
||||||
|
echo "Download failed or file does not exist."; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Copy the run script
|
# Copy the run script
|
||||||
COPY run.sh /run.sh
|
COPY run.sh /run.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user