Skip to content

Commit 6051472

Browse files
committed
Fix directory creation
1 parent 4e3503c commit 6051472

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

php-80/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ RUN CFLAGS="" \
102102
# https://stackoverflow.com/questions/28639207/why-cant-i-compile-openssl-with-multiple-threads-make-j3
103103
# Run `make install_sw install_ssldirs` instead of `make install` to skip installing man pages https://github.com/openssl/openssl/issues/8170
104104
RUN make -j1 install_sw install_ssldirs
105-
RUN curl -Lk -o ${CA_BUNDLE} ${CA_BUNDLE_SOURCE}
105+
RUN mkdir -p ${INSTALL_DIR}/bref/ssl && curl -Lk -o ${CA_BUNDLE} ${CA_BUNDLE_SOURCE}
106106

107107

108108
###############################################################################
@@ -418,7 +418,7 @@ RUN pecl install APCu
418418
RUN mkdir -p /bref-layer/bin \
419419
&& mkdir -p /bref-layer/lib \
420420
&& mkdir -p /bref-layer/bref/extensions \
421-
&& mkdir -p /bref-layer/ssl
421+
&& mkdir -p /bref-layer/bref/ssl
422422

423423
# Copy the PHP binary
424424
RUN cp ${INSTALL_DIR}/bin/php /bref-layer/bin/php && chmod +x /bref-layer/bin/php

php-81/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ RUN CFLAGS="" \
102102
# https://stackoverflow.com/questions/28639207/why-cant-i-compile-openssl-with-multiple-threads-make-j3
103103
# Run `make install_sw install_ssldirs` instead of `make install` to skip installing man pages https://github.com/openssl/openssl/issues/8170
104104
RUN make -j1 install_sw install_ssldirs
105-
RUN curl -Lk -o ${CA_BUNDLE} ${CA_BUNDLE_SOURCE}
105+
RUN mkdir -p ${INSTALL_DIR}/bref/ssl && curl -Lk -o ${CA_BUNDLE} ${CA_BUNDLE_SOURCE}
106106

107107

108108
###############################################################################
@@ -418,7 +418,7 @@ RUN pecl install APCu
418418
RUN mkdir -p /bref-layer/bin \
419419
&& mkdir -p /bref-layer/lib \
420420
&& mkdir -p /bref-layer/bref/extensions \
421-
&& mkdir -p /bref-layer/ssl
421+
&& mkdir -p /bref-layer/bref/ssl
422422

423423
# Copy the PHP binary
424424
RUN cp ${INSTALL_DIR}/bin/php /bref-layer/bin/php && chmod +x /bref-layer/bin/php

php-82/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ RUN CFLAGS="" \
102102
# https://stackoverflow.com/questions/28639207/why-cant-i-compile-openssl-with-multiple-threads-make-j3
103103
# Run `make install_sw install_ssldirs` instead of `make install` to skip installing man pages https://github.com/openssl/openssl/issues/8170
104104
RUN make -j1 install_sw install_ssldirs
105-
RUN curl -Lk -o ${CA_BUNDLE} ${CA_BUNDLE_SOURCE}
105+
RUN mkdir -p ${INSTALL_DIR}/bref/ssl && curl -Lk -o ${CA_BUNDLE} ${CA_BUNDLE_SOURCE}
106106

107107

108108
###############################################################################
@@ -418,7 +418,7 @@ RUN pecl install APCu
418418
RUN mkdir -p /bref-layer/bin \
419419
&& mkdir -p /bref-layer/lib \
420420
&& mkdir -p /bref-layer/bref/extensions \
421-
&& mkdir -p /bref-layer/ssl
421+
&& mkdir -p /bref-layer/bref/ssl
422422

423423
# Copy the PHP binary
424424
RUN cp ${INSTALL_DIR}/bin/php /bref-layer/bin/php && chmod +x /bref-layer/bin/php

0 commit comments

Comments
 (0)