Skip to content

Commit b2c6214

Browse files
committed
Format the zlib install code like other sections
1 parent c3e44c7 commit b2c6214

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

php-80/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,11 @@ RUN mkdir -p ${BUILD_DIR} \
8484
# - xml2
8585
ENV VERSION_ZLIB=1.3
8686
ENV ZLIB_BUILD_DIR=${BUILD_DIR}/zlib
87-
8887
RUN set -xe; \
8988
mkdir -p ${ZLIB_BUILD_DIR}; \
90-
# Download and upack the source code
9189
curl -Ls https://zlib.net/zlib-${VERSION_ZLIB}.tar.xz \
9290
| tar xJC ${ZLIB_BUILD_DIR} --strip-components=1
93-
94-
# Move into the unpackaged code directory
9591
WORKDIR ${ZLIB_BUILD_DIR}/
96-
97-
# Configure the build
9892
RUN set -xe; \
9993
make distclean \
10094
&& CFLAGS="" \
@@ -103,7 +97,6 @@ RUN set -xe; \
10397
./configure \
10498
--prefix=${INSTALL_DIR} \
10599
--64
106-
107100
RUN set -xe; \
108101
make install \
109102
&& rm ${INSTALL_DIR}/lib/libz.a

php-81/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,11 @@ RUN mkdir -p ${BUILD_DIR} \
8484
# - xml2
8585
ENV VERSION_ZLIB=1.3
8686
ENV ZLIB_BUILD_DIR=${BUILD_DIR}/zlib
87-
8887
RUN set -xe; \
8988
mkdir -p ${ZLIB_BUILD_DIR}; \
90-
# Download and upack the source code
9189
curl -Ls https://zlib.net/zlib-${VERSION_ZLIB}.tar.xz \
9290
| tar xJC ${ZLIB_BUILD_DIR} --strip-components=1
93-
94-
# Move into the unpackaged code directory
9591
WORKDIR ${ZLIB_BUILD_DIR}/
96-
97-
# Configure the build
9892
RUN set -xe; \
9993
make distclean \
10094
&& CFLAGS="" \
@@ -103,7 +97,6 @@ RUN set -xe; \
10397
./configure \
10498
--prefix=${INSTALL_DIR} \
10599
--64
106-
107100
RUN set -xe; \
108101
make install \
109102
&& rm ${INSTALL_DIR}/lib/libz.a

php-82/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,11 @@ RUN mkdir -p ${BUILD_DIR} \
8484
# - xml2
8585
ENV VERSION_ZLIB=1.3
8686
ENV ZLIB_BUILD_DIR=${BUILD_DIR}/zlib
87-
8887
RUN set -xe; \
8988
mkdir -p ${ZLIB_BUILD_DIR}; \
90-
# Download and upack the source code
9189
curl -Ls https://zlib.net/zlib-${VERSION_ZLIB}.tar.xz \
9290
| tar xJC ${ZLIB_BUILD_DIR} --strip-components=1
93-
94-
# Move into the unpackaged code directory
9591
WORKDIR ${ZLIB_BUILD_DIR}/
96-
97-
# Configure the build
9892
RUN set -xe; \
9993
make distclean \
10094
&& CFLAGS="" \
@@ -103,7 +97,6 @@ RUN set -xe; \
10397
./configure \
10498
--prefix=${INSTALL_DIR} \
10599
--64
106-
107100
RUN set -xe; \
108101
make install \
109102
&& rm ${INSTALL_DIR}/lib/libz.a

0 commit comments

Comments
 (0)