Skip to content

Commit b102a61

Browse files
committed
dhi changes
1 parent 486b938 commit b102a61

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

dhi.alpine.fpm.wsc.Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ RUN apk add --no-cache \
3838

3939
# =========================
4040
# Preparation:
41-
# - move existing extensions, such as opcache, so that
41+
# - remove existing extensions, such as opcache, so that
4242
# they are not copied into the final image (again).
4343
# =========================
4444

45-
RUN mkdir -p /tmp/extension/ \
45+
RUN echo "" \
4646
#&& ls ${PHP_PREFIX}/etc/php/conf.d/ \
47-
&& mv ${PHP_PREFIX}/etc/php/conf.d/* /tmp/extension/ \
47+
&& rm -f ${PHP_PREFIX}/etc/php/conf.d/* \
4848
&& VAR_PHP_EXTENSION_DIR=$(php -r "echo ini_get('extension_dir');") \
4949
#&& ls ${VAR_PHP_EXTENSION_DIR} \
50-
&& mv ${VAR_PHP_EXTENSION_DIR}/* /tmp/extension/ \
51-
&& ls /tmp/extension/
50+
&& rm -f ${VAR_PHP_EXTENSION_DIR}/* \
51+
&& echo ""
5252

5353
# =========================
5454
# Core PHP Extensions

dhi.debian.fpm.wsc.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ RUN apt-get update \
4343
# they are not copied into the final image (again).
4444
# =========================
4545

46-
RUN mkdir -p /tmp/extension/ \
46+
RUN echo "" \
4747
#&& ls ${PHP_PREFIX}/etc/php/conf.d/ \
48-
&& mv ${PHP_PREFIX}/etc/php/conf.d/* /tmp/extension/ \
48+
&& rm -f ${PHP_PREFIX}/etc/php/conf.d/* \
4949
&& VAR_PHP_EXTENSION_DIR=$(php -r "echo ini_get('extension_dir');") \
5050
#&& ls ${VAR_PHP_EXTENSION_DIR} \
51-
&& mv ${VAR_PHP_EXTENSION_DIR}/* /tmp/extension/ \
52-
&& ls /tmp/extension/
51+
&& rm -f ${VAR_PHP_EXTENSION_DIR}/* \
52+
&& echo ""
5353

5454
# =========================
5555
# Core PHP Extensions

0 commit comments

Comments
 (0)