Skip to content

Commit 3712f02

Browse files
authored
Merge pull request #427 from infosiftr/apache2
Replace "apache2-bin apache2.2-common" with "apache2"
2 parents 8efce53 + 7cd701b commit 3712f02

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

5.6/apache/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ ENV PHP_INI_DIR /usr/local/etc/php
3030
RUN mkdir -p $PHP_INI_DIR/conf.d
3131

3232
##<autogenerated>##
33-
RUN apt-get update && apt-get install -y apache2-bin apache2.2-common --no-install-recommends && rm -rf /var/lib/apt/lists/*
33+
RUN apt-get update \
34+
&& apt-get install -y --no-install-recommends \
35+
apache2 \
36+
&& rm -rf /var/lib/apt/lists/*
3437

3538
ENV APACHE_CONFDIR /etc/apache2
3639
ENV APACHE_ENVVARS $APACHE_CONFDIR/envvars

7.0/apache/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ ENV PHP_INI_DIR /usr/local/etc/php
3030
RUN mkdir -p $PHP_INI_DIR/conf.d
3131

3232
##<autogenerated>##
33-
RUN apt-get update && apt-get install -y apache2-bin apache2.2-common --no-install-recommends && rm -rf /var/lib/apt/lists/*
33+
RUN apt-get update \
34+
&& apt-get install -y --no-install-recommends \
35+
apache2 \
36+
&& rm -rf /var/lib/apt/lists/*
3437

3538
ENV APACHE_CONFDIR /etc/apache2
3639
ENV APACHE_ENVVARS $APACHE_CONFDIR/envvars

7.1/apache/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ ENV PHP_INI_DIR /usr/local/etc/php
3030
RUN mkdir -p $PHP_INI_DIR/conf.d
3131

3232
##<autogenerated>##
33-
RUN apt-get update && apt-get install -y apache2-bin apache2.2-common --no-install-recommends && rm -rf /var/lib/apt/lists/*
33+
RUN apt-get update \
34+
&& apt-get install -y --no-install-recommends \
35+
apache2 \
36+
&& rm -rf /var/lib/apt/lists/*
3437

3538
ENV APACHE_CONFDIR /etc/apache2
3639
ENV APACHE_ENVVARS $APACHE_CONFDIR/envvars

apache-Dockerfile-block-1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
RUN apt-get update && apt-get install -y apache2-bin apache2.2-common --no-install-recommends && rm -rf /var/lib/apt/lists/*
1+
RUN apt-get update \
2+
&& apt-get install -y --no-install-recommends \
3+
apache2 \
4+
&& rm -rf /var/lib/apt/lists/*
25

36
ENV APACHE_CONFDIR /etc/apache2
47
ENV APACHE_ENVVARS $APACHE_CONFDIR/envvars

0 commit comments

Comments
 (0)