* Fix #1544, Unable to locate package libgmp-dev.
This commit is contained in:
parent
07410e80cf
commit
808bd72d13
@ -18,6 +18,9 @@ FROM laradock/php-fpm:2.2-${PHP_VERSION}
|
|||||||
|
|
||||||
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
||||||
|
|
||||||
|
# always run apt update when start and after add new source list, then clean up at end.
|
||||||
|
RUN apt-get update -yqq
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Mandatory Software's Installation
|
# Mandatory Software's Installation
|
||||||
@ -49,7 +52,6 @@ ARG INSTALL_SOAP=false
|
|||||||
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
||||||
# Install the soap extension
|
# Install the soap extension
|
||||||
rm /etc/apt/preferences.d/no-debian-php && \
|
rm /etc/apt/preferences.d/no-debian-php && \
|
||||||
apt-get update -yqq && \
|
|
||||||
apt-get -y install libxml2-dev php-soap && \
|
apt-get -y install libxml2-dev php-soap && \
|
||||||
docker-php-ext-install soap \
|
docker-php-ext-install soap \
|
||||||
;fi
|
;fi
|
||||||
@ -296,7 +298,6 @@ ARG INSTALL_INTL=false
|
|||||||
|
|
||||||
RUN if [ ${INSTALL_INTL} = true ]; then \
|
RUN if [ ${INSTALL_INTL} = true ]; then \
|
||||||
# Install intl and requirements
|
# Install intl and requirements
|
||||||
apt-get update -yqq && \
|
|
||||||
apt-get install -y zlib1g-dev libicu-dev g++ && \
|
apt-get install -y zlib1g-dev libicu-dev g++ && \
|
||||||
docker-php-ext-configure intl && \
|
docker-php-ext-configure intl && \
|
||||||
docker-php-ext-install intl \
|
docker-php-ext-install intl \
|
||||||
|
@ -31,7 +31,9 @@ ENV PUID ${PUID}
|
|||||||
ARG PGID=1000
|
ARG PGID=1000
|
||||||
ENV PGID ${PGID}
|
ENV PGID ${PGID}
|
||||||
|
|
||||||
RUN groupadd -g ${PGID} laradock && \
|
# always run apt update when start and after add new source list, then clean up at end.
|
||||||
|
RUN apt-get update -yqq && \
|
||||||
|
groupadd -g ${PGID} laradock && \
|
||||||
useradd -u ${PUID} -g laradock -m laradock -G docker_env && \
|
useradd -u ${PUID} -g laradock -m laradock -G docker_env && \
|
||||||
usermod -p "*" laradock
|
usermod -p "*" laradock
|
||||||
|
|
||||||
@ -667,7 +669,6 @@ USER root
|
|||||||
ARG INSTALL_IMAGEMAGICK=false
|
ARG INSTALL_IMAGEMAGICK=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
||||||
apt-get update && \
|
|
||||||
apt-get install -y --force-yes imagemagick php-imagick \
|
apt-get install -y --force-yes imagemagick php-imagick \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user