Skip to content

Commit

Permalink
chore(docker): remove imagemagick and contrib edits
Browse files Browse the repository at this point in the history
  • Loading branch information
ronisaha committed Dec 1, 2024
1 parent a371f83 commit a164274
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 21 deletions.
4 changes: 1 addition & 3 deletions apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf
#install exetentions and dependencies
RUN set -eux; \
\
sed -i'.bak' 's/$/ contrib/' /etc/apt/sources.list; \
apt-get update && apt-get -y upgrade; \
apt-get install -y libaio1 wget unzip \
libicu-dev \
Expand All @@ -21,7 +20,6 @@ RUN set -eux; \
libmagickwand-dev \
librabbitmq-dev \
libpq-dev \
imagemagick \
libxslt1-dev \
\
libjpeg62-turbo \
Expand Down Expand Up @@ -53,7 +51,7 @@ RUN set -eux; \
curl -L https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions > /usr/local/bin/install-php-extensions \
; \
chmod +x /usr/local/bin/install-php-extensions ; \
install-php-extensions gd Imagick/imagick@master amqp; \
install-php-extensions gd amqp; \
rm -f /usr/local/bin/install-php-extensions; \
\
docker-php-source delete ;\
Expand Down
4 changes: 1 addition & 3 deletions cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ ENV NODE_MAJOR=20
#install Exetentions and dependencies
RUN set -eux; \
\
sed -i'.bak' 's/$/ contrib/' /etc/apt/sources.list; \
apt-get update && apt-get -y upgrade; \
apt-get install -y ca-certificates curl gnupg; \
mkdir -p /etc/apt/keyrings; \
Expand All @@ -25,7 +24,6 @@ RUN set -eux; \
libmagickwand-dev \
librabbitmq-dev \
libpq-dev \
imagemagick \
libxslt1-dev \
\
libjpeg62-turbo \
Expand Down Expand Up @@ -60,7 +58,7 @@ RUN set -eux; \
curl -L https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions > /usr/local/bin/install-php-extensions \
; \
chmod +x /usr/local/bin/install-php-extensions ; \
install-php-extensions gd Imagick/imagick@master amqp; \
install-php-extensions gd amqp; \
rm -f /usr/local/bin/install-php-extensions; \
\
docker-php-source delete ;\
Expand Down
4 changes: 1 addition & 3 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf
#install exetentions and dependencies
RUN set -eux; \
\
sed -i'.bak' 's/$/ contrib/' /etc/apt/sources.list; \
apt-get update && apt-get -y upgrade; \
apt-get install -y libaio1 wget unzip \
libicu-dev \
Expand All @@ -21,7 +20,6 @@ RUN set -eux; \
libmagickwand-dev \
librabbitmq-dev \
libpq-dev \
imagemagick \
libxslt1-dev \
\
libjpeg62-turbo \
Expand Down Expand Up @@ -56,7 +54,7 @@ RUN set -eux; \
; \
chmod +x /usr/local/bin/install-php-extensions ; \
\
install-php-extensions gd Imagick/imagick@master amqp; \
install-php-extensions gd amqp; \
rm -f /usr/local/bin/install-php-extensions; \
docker-php-source delete ;\
apt-get remove -y g++ wget ;\
Expand Down
4 changes: 1 addition & 3 deletions fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ENV LD_LIBRARY_PATH=/usr/lib/instantclient
#install Exetentions and dependencies
RUN set -eux; \
\
sed -i'.bak' 's/$/ contrib/' /etc/apt/sources.list; \
apt-get update && apt-get -y upgrade; \
apt-get install -y libaio1 wget unzip \
libicu-dev \
Expand All @@ -18,7 +17,6 @@ RUN set -eux; \
libmagickwand-dev \
librabbitmq-dev\
libpq-dev \
imagemagick \
libxslt1-dev \
\
libjpeg62-turbo \
Expand Down Expand Up @@ -50,7 +48,7 @@ RUN set -eux; \
curl -L https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions > /usr/local/bin/install-php-extensions \
; \
chmod +x /usr/local/bin/install-php-extensions ; \
install-php-extensions gd Imagick/imagick@master amqp; \
install-php-extensions gd amqp; \
rm -f /usr/local/bin/install-php-extensions; \
\
docker-php-source delete ;\
Expand Down
4 changes: 1 addition & 3 deletions oci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ENV LD_LIBRARY_PATH=/usr/lib/instantclient
#install Exetentions and dependencies
RUN set -eux; \
\
sed -i'.bak' 's/$/ contrib/' /etc/apt/sources.list; \
apt-get update && apt-get -y upgrade; \
apt-get install -y libaio1 wget unzip \
libicu-dev \
Expand All @@ -18,7 +17,6 @@ RUN set -eux; \
libmagickwand-dev \
librabbitmq-dev \
libpq-dev \
imagemagick \
libxslt1-dev \
libjpeg62-turbo \
libpng16-16 \
Expand Down Expand Up @@ -64,7 +62,7 @@ RUN set -eux; \
curl -L https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions > /usr/local/bin/install-php-extensions \
; \
chmod +x /usr/local/bin/install-php-extensions ; \
install-php-extensions gd Imagick/imagick@master amqp; \
install-php-extensions gd amqp; \
rm -f /usr/local/bin/install-php-extensions; \
\
docker-php-source delete ;\
Expand Down
4 changes: 1 addition & 3 deletions supervisor-oci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ENV LD_LIBRARY_PATH=/usr/lib/instantclient
#install Exetentions and dependencies
RUN set -eux; \
\
sed -i'.bak' 's/$/ contrib/' /etc/apt/sources.list; \
apt-get update && apt-get -y upgrade; \
apt-get install -y libaio1 wget unzip supervisor \
libicu-dev \
Expand All @@ -18,7 +17,6 @@ RUN set -eux; \
libmagickwand-dev \
librabbitmq-dev \
libpq-dev \
imagemagick \
libxslt1-dev \
libjpeg62-turbo \
libpng16-16 \
Expand Down Expand Up @@ -64,7 +62,7 @@ RUN set -eux; \
curl -L https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions > /usr/local/bin/install-php-extensions \
; \
chmod +x /usr/local/bin/install-php-extensions ; \
install-php-extensions gd Imagick/imagick@master amqp; \
install-php-extensions gd amqp; \
rm -f /usr/local/bin/install-php-extensions; \
\
docker-php-source delete ;\
Expand Down
4 changes: 1 addition & 3 deletions supervisor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ENV LD_LIBRARY_PATH=/usr/lib/instantclient
#install Exetentions and dependencies
RUN set -eux; \
\
sed -i'.bak' 's/$/ contrib/' /etc/apt/sources.list; \
apt-get update && apt-get -y upgrade; \
apt-get install -y libaio1 wget unzip supervisor \
libicu-dev \
Expand All @@ -18,7 +17,6 @@ RUN set -eux; \
libmagickwand-dev \
librabbitmq-dev \
libpq-dev \
imagemagick \
libxslt1-dev \
\
libjpeg62-turbo \
Expand Down Expand Up @@ -50,7 +48,7 @@ RUN set -eux; \
curl -L https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions > /usr/local/bin/install-php-extensions \
; \
chmod +x /usr/local/bin/install-php-extensions ; \
install-php-extensions gd Imagick/imagick@master amqp; \
install-php-extensions gd amqp; \
rm -f /usr/local/bin/install-php-extensions; \
\
docker-php-source delete ;\
Expand Down

0 comments on commit a164274

Please sign in to comment.