File tree Expand file tree Collapse file tree 14 files changed +26
-67
lines changed Expand file tree Collapse file tree 14 files changed +26
-67
lines changed Original file line number Diff line number Diff line change 1
1
FROM chialab/php:5.6-apache
2
2
LABEL maintainer="HyperOne"
3
3
LABEL rbx.shell_image="h1cr.io/website/php-apache-shell:5.6"
4
- ENV IMAGICK_VERSION="3.4.4"
5
4
COPY ./site.conf /etc/apache2/sites-available/000-default.conf
6
5
COPY ./ports.conf /etc/apache2/ports.conf
7
6
RUN sed -i 's@Directory /var/www/@Directory /data/public@g' /etc/apache2/conf-available/docker-php.conf /etc/apache2/apache2.conf
@@ -10,12 +9,9 @@ RUN curl "https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_$(u
10
9
&& tar -xzvf /tmp/ioncube.tar.gz --strip-components=1 -C "$extension_dir" "ioncube/ioncube_loader_lin_5.6.so" \
11
10
&& chown root:staff "$extension_dir/ioncube_loader_lin_5.6.so" \
12
11
&& rm /tmp/ioncube.tar.gz
13
- RUN apt-get update \
14
- # Following command add 200 MB dependencies
15
- && apt-get install -y --no-install-recommends zlib1g-dev libcurl3-dev libpng-dev libmagickwand-dev locales \
16
- && rm -rf /var/lib/apt/lists/*
17
- RUN pecl install imagick-"$IMAGICK_VERSION" \
18
- && docker-php-ext-enable imagick
12
+ RUN apt-get update && apt-get install -y \
13
+ locales \
14
+ && rm -rf /var/lib/apt/lists/*
19
15
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen \
20
16
&& dpkg-reconfigure --frontend=noninteractive locales \
21
17
&& update-locale LANG=en_US.UTF-8
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ Następujące zmienne środowiskowe są ustawione w środowisku:
95
95
96
96
| Zmienna środowiskowa | Opis |
97
97
| --------------------- | ---------------------------------- |
98
- | ``` IMAGICK_VERSION ``` | Dostępna wersja biblioteki Imagick |
99
98
| ``` PHP_VERSION ``` | Dostępna wersja interpretera PHP |
100
99
| ``` WP_CLI ``` | Dostępna wersja narzędzia WP-CLI |
101
100
Original file line number Diff line number Diff line change 1
1
FROM chialab/php:7.2-apache
2
2
LABEL maintainer="HyperOne"
3
3
LABEL rbx.shell_image="h1cr.io/website/php-apache-shell:7.2"
4
- ENV IMAGICK_VERSION="3.4.4"
5
4
COPY ./site.conf /etc/apache2/sites-available/000-default.conf
6
5
COPY ./ports.conf /etc/apache2/ports.conf
7
6
RUN sed -i 's@Directory /var/www/@Directory /data/public@g' /etc/apache2/conf-available/docker-php.conf /etc/apache2/apache2.conf
@@ -10,12 +9,9 @@ RUN curl "https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_$(u
10
9
&& tar -xzvf /tmp/ioncube.tar.gz --strip-components=1 -C "$extension_dir" "ioncube/ioncube_loader_lin_7.2.so" \
11
10
&& chown root:staff "$extension_dir/ioncube_loader_lin_7.2.so" \
12
11
&& rm /tmp/ioncube.tar.gz
13
- RUN apt-get update \
14
- # Following command add 200 MB dependencies
15
- && apt-get install -y --no-install-recommends zlib1g-dev libcurl3-dev libpng-dev libmagickwand-dev locales \
16
- && rm -rf /var/lib/apt/lists/*
17
- RUN pecl install imagick-"$IMAGICK_VERSION" \
18
- && docker-php-ext-enable imagick
12
+ RUN apt-get update && apt-get install -y \
13
+ locales \
14
+ && rm -rf /var/lib/apt/lists/*
19
15
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen \
20
16
&& dpkg-reconfigure --frontend=noninteractive locales \
21
17
&& update-locale LANG=en_US.UTF-8
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ Następujące zmienne środowiskowe są ustawione w środowisku:
95
95
96
96
| Zmienna środowiskowa | Opis |
97
97
| --------------------- | ---------------------------------- |
98
- | ``` IMAGICK_VERSION ``` | Dostępna wersja biblioteki Imagick |
99
98
| ``` PHP_VERSION ``` | Dostępna wersja interpretera PHP |
100
99
| ``` WP_CLI ``` | Dostępna wersja narzędzia WP-CLI |
101
100
Original file line number Diff line number Diff line change 1
1
FROM chialab/php:7.3-apache
2
2
LABEL maintainer="HyperOne"
3
3
LABEL rbx.shell_image="h1cr.io/website/php-apache-shell:7.3"
4
- ENV IMAGICK_VERSION="3.4.4"
5
4
COPY ./site.conf /etc/apache2/sites-available/000-default.conf
6
5
COPY ./ports.conf /etc/apache2/ports.conf
7
6
RUN sed -i 's@Directory /var/www/@Directory /data/public@g' /etc/apache2/conf-available/docker-php.conf /etc/apache2/apache2.conf
@@ -14,8 +13,9 @@ RUN apt-get update \
14
13
# Following command add 200 MB dependencies
15
14
&& apt-get install -y --no-install-recommends zlib1g-dev libcurl3-dev libpng-dev libmagickwand-dev locales \
16
15
&& rm -rf /var/lib/apt/lists/*
17
- RUN pecl install imagick-"$IMAGICK_VERSION" \
18
- && docker-php-ext-enable imagick
16
+ RUN apt-get update && apt-get install -y \
17
+ locales \
18
+ && rm -rf /var/lib/apt/lists/*
19
19
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen \
20
20
&& dpkg-reconfigure --frontend=noninteractive locales \
21
21
&& update-locale LANG=en_US.UTF-8
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ Następujące zmienne środowiskowe są ustawione w środowisku:
95
95
96
96
| Zmienna środowiskowa | Opis |
97
97
| --------------------- | ---------------------------------- |
98
- | ``` IMAGICK_VERSION ``` | Dostępna wersja biblioteki Imagick |
99
98
| ``` PHP_VERSION ``` | Dostępna wersja interpretera PHP |
100
99
| ``` WP_CLI ``` | Dostępna wersja narzędzia WP-CLI |
101
100
Original file line number Diff line number Diff line change 1
1
FROM chialab/php:7.4-apache
2
2
LABEL maintainer="HyperOne"
3
3
LABEL rbx.shell_image="h1cr.io/website/php-apache-shell:7.4"
4
- ENV IMAGICK_VERSION="3.4.4"
5
4
COPY ./site.conf /etc/apache2/sites-available/000-default.conf
6
5
COPY ./ports.conf /etc/apache2/ports.conf
7
6
RUN sed -i 's@Directory /var/www/@Directory /data/public@g' /etc/apache2/conf-available/docker-php.conf /etc/apache2/apache2.conf
@@ -10,12 +9,9 @@ RUN curl "https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_$(u
10
9
&& tar -xzvf /tmp/ioncube.tar.gz --strip-components=1 -C "$extension_dir" "ioncube/ioncube_loader_lin_7.4.so" \
11
10
&& chown root:staff "$extension_dir/ioncube_loader_lin_7.4.so" \
12
11
&& rm /tmp/ioncube.tar.gz
13
- RUN apt-get update \
14
- # Following command add 200 MB dependencies
15
- && apt-get install -y --no-install-recommends zlib1g-dev libcurl3-dev libpng-dev libmagickwand-dev locales \
16
- && rm -rf /var/lib/apt/lists/*
17
- RUN pecl install imagick-"$IMAGICK_VERSION" \
18
- && docker-php-ext-enable imagick
12
+ RUN apt-get update && apt-get install -y \
13
+ locales \
14
+ && rm -rf /var/lib/apt/lists/*
19
15
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen \
20
16
&& dpkg-reconfigure --frontend=noninteractive locales \
21
17
&& update-locale LANG=en_US.UTF-8
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ Następujące zmienne środowiskowe są ustawione w środowisku:
95
95
96
96
| Zmienna środowiskowa | Opis |
97
97
| --------------------- | ---------------------------------- |
98
- | ``` IMAGICK_VERSION ``` | Dostępna wersja biblioteki Imagick |
99
98
| ``` PHP_VERSION ``` | Dostępna wersja interpretera PHP |
100
99
| ``` WP_CLI ``` | Dostępna wersja narzędzia WP-CLI |
101
100
Original file line number Diff line number Diff line change 1
1
FROM chialab/php:8.0-apache
2
2
LABEL maintainer="HyperOne"
3
3
LABEL rbx.shell_image="h1cr.io/website/php-apache-shell:8.0"
4
- ENV IMAGICK_VERSION="3.4.4"
5
4
COPY ./site.conf /etc/apache2/sites-available/000-default.conf
6
5
COPY ./ports.conf /etc/apache2/ports.conf
7
6
RUN sed -i 's@Directory /var/www/@Directory /data/public@g' /etc/apache2/conf-available/docker-php.conf /etc/apache2/apache2.conf
8
- RUN apt-get update \
9
- # Following command add 200 MB dependencies
10
- && apt-get install -y --no-install-recommends zlib1g-dev libcurl3-dev libpng-dev libmagickwand-dev locales \
11
- && rm -rf /var/lib/apt/lists/*
12
- # use github version for now until release from https://pecl.php.net/get/imagick is ready for PHP 8
13
- RUN mkdir -p /usr/src/php/ext/imagick; \
14
- curl -fsSL https://github.com/Imagick/imagick/archive/06116aa24b76edaf6b1693198f79e6c295eda8a9.tar.gz | tar xvz -C "/usr/src/php/ext/imagick" --strip 1; \
15
- docker-php-ext-install imagick && docker-php-ext-install imagick
7
+ RUN apt-get update && apt-get install -y \
8
+ locales \
9
+ && rm -rf /var/lib/apt/lists/*
16
10
RUN echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen \
17
11
&& dpkg-reconfigure --frontend=noninteractive locales \
18
12
&& update-locale LANG=en_US.UTF-8
Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ Następujące zmienne środowiskowe są ustawione w środowisku:
96
96
97
97
| Zmienna środowiskowa | Opis |
98
98
| --------------------- | ---------------------------------- |
99
- | ``` IMAGICK_VERSION ``` | Dostępna wersja biblioteki Imagick |
100
99
| ``` PHP_VERSION ``` | Dostępna wersja interpretera PHP |
101
100
| ``` WP_CLI ``` | Dostępna wersja narzędzia WP-CLI |
102
101
You can’t perform that action at this time.
0 commit comments