File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ RUN set -ex; \
3737 | sort -u \
3838 | xargs -rt apt-mark manual; \
3939 \
40+ # start: Apache specific build
41+ a2enmod remoteip; \
42+ # end: Apache specific build
43+ \
4044 apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
4145 rm -rf /var/lib/apt/lists/*; \
4246 ldd "$extdir"/*.so | grep -qzv "=> not found" || (echo "Sanity check failed: missing libraries:"; ldd "$extdir"/*.so | grep " => not found"; exit 1); \
Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ RUN set -ex; \
3838 | sort -u \
3939 | xargs -rt apt-mark manual; \
4040 \
41+ # start: Apache specific build
42+ a2enmod remoteip; \
43+ # end: Apache specific build
44+ \
4145 apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
4246 rm -rf /var/lib/apt/lists/*; \
4347 ldd "$extdir" /*.so | grep -qzv "=> not found" || (echo "Sanity check failed: missing libraries:" ; ldd "$extdir" /*.so | grep " => not found" ; exit 1); \
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ RUN set -ex; \
3838 | sort -u \
3939 | xargs -rt apt-mark manual; \
4040 \
41+ \
4142 apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
4243 rm -rf /var/lib/apt/lists/*; \
4344 ldd "$extdir" /*.so | grep -qzv "=> not found" || (echo "Sanity check failed: missing libraries:" ; ldd "$extdir" /*.so | grep " => not found" ; exit 1); \
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ function create_variant() {
6464 cp docker-entrypoint.sh " $variant /docker-entrypoint.sh"
6565 if [ " $variant " != " apache" ]; then
6666 sed -i " /^# start: Apache specific settings$/,/^# end: Apache specific settings$/d" " $variant /docker-entrypoint.sh"
67+ sed -i " /^\s*# start: Apache specific build$/,/^\s*# end: Apache specific build$/d" " $variant /Dockerfile"
6768 fi
6869
6970 # Copy config.inc.php
You can’t perform that action at this time.
0 commit comments