mirror of
https://github.com/danog/php.git
synced 2024-11-27 12:24:58 +01:00
Apply update.sh
This commit is contained in:
parent
e3db777ec6
commit
1ca3e1d22a
@ -1,16 +1,5 @@
|
||||
FROM alpine:3.3
|
||||
|
||||
# phpize deps
|
||||
RUN apk add --no-cache --virtual .phpize-deps \
|
||||
autoconf \
|
||||
file \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
make \
|
||||
pkgconf \
|
||||
re2c
|
||||
|
||||
# persistent / runtime deps
|
||||
RUN apk add --no-cache --virtual .persistent-deps \
|
||||
ca-certificates \
|
||||
@ -37,8 +26,11 @@ ENV PHP_VERSION 5.5.35
|
||||
ENV PHP_FILENAME php-5.5.35.tar.xz
|
||||
ENV PHP_SHA256 9bef96634af853960be085690b2f4cea5850b749ea950942769b22b1a9f24873
|
||||
|
||||
ENV PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
$PHPIZE_DEPS \
|
||||
curl-dev \
|
||||
gnupg \
|
||||
libedit-dev \
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -1,16 +1,5 @@
|
||||
FROM alpine:3.3
|
||||
|
||||
# phpize deps
|
||||
RUN apk add --no-cache --virtual .phpize-deps \
|
||||
autoconf \
|
||||
file \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
make \
|
||||
pkgconf \
|
||||
re2c
|
||||
|
||||
# persistent / runtime deps
|
||||
RUN apk add --no-cache --virtual .persistent-deps \
|
||||
ca-certificates \
|
||||
@ -38,8 +27,11 @@ ENV PHP_VERSION 5.5.35
|
||||
ENV PHP_FILENAME php-5.5.35.tar.xz
|
||||
ENV PHP_SHA256 9bef96634af853960be085690b2f4cea5850b749ea950942769b22b1a9f24873
|
||||
|
||||
ENV PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
$PHPIZE_DEPS \
|
||||
curl-dev \
|
||||
gnupg \
|
||||
libedit-dev \
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -1,16 +1,5 @@
|
||||
FROM alpine:3.3
|
||||
|
||||
# phpize deps
|
||||
RUN apk add --no-cache --virtual .phpize-deps \
|
||||
autoconf \
|
||||
file \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
make \
|
||||
pkgconf \
|
||||
re2c
|
||||
|
||||
# persistent / runtime deps
|
||||
RUN apk add --no-cache --virtual .persistent-deps \
|
||||
ca-certificates \
|
||||
@ -38,8 +27,11 @@ ENV PHP_VERSION 5.5.35
|
||||
ENV PHP_FILENAME php-5.5.35.tar.xz
|
||||
ENV PHP_SHA256 9bef96634af853960be085690b2f4cea5850b749ea950942769b22b1a9f24873
|
||||
|
||||
ENV PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
$PHPIZE_DEPS \
|
||||
curl-dev \
|
||||
gnupg \
|
||||
libedit-dev \
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -1,16 +1,5 @@
|
||||
FROM alpine:3.3
|
||||
|
||||
# phpize deps
|
||||
RUN apk add --no-cache --virtual .phpize-deps \
|
||||
autoconf \
|
||||
file \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
make \
|
||||
pkgconf \
|
||||
re2c
|
||||
|
||||
# persistent / runtime deps
|
||||
RUN apk add --no-cache --virtual .persistent-deps \
|
||||
ca-certificates \
|
||||
@ -37,8 +26,11 @@ ENV PHP_VERSION 5.6.21
|
||||
ENV PHP_FILENAME php-5.6.21.tar.xz
|
||||
ENV PHP_SHA256 566ff1a486cb0485ed477a91ea292423f77a58671270ff73b74e67e3ce7084f9
|
||||
|
||||
ENV PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
$PHPIZE_DEPS \
|
||||
curl-dev \
|
||||
gnupg \
|
||||
libedit-dev \
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -1,16 +1,5 @@
|
||||
FROM alpine:3.3
|
||||
|
||||
# phpize deps
|
||||
RUN apk add --no-cache --virtual .phpize-deps \
|
||||
autoconf \
|
||||
file \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
make \
|
||||
pkgconf \
|
||||
re2c
|
||||
|
||||
# persistent / runtime deps
|
||||
RUN apk add --no-cache --virtual .persistent-deps \
|
||||
ca-certificates \
|
||||
@ -38,8 +27,11 @@ ENV PHP_VERSION 5.6.21
|
||||
ENV PHP_FILENAME php-5.6.21.tar.xz
|
||||
ENV PHP_SHA256 566ff1a486cb0485ed477a91ea292423f77a58671270ff73b74e67e3ce7084f9
|
||||
|
||||
ENV PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
$PHPIZE_DEPS \
|
||||
curl-dev \
|
||||
gnupg \
|
||||
libedit-dev \
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -1,16 +1,5 @@
|
||||
FROM alpine:3.3
|
||||
|
||||
# phpize deps
|
||||
RUN apk add --no-cache --virtual .phpize-deps \
|
||||
autoconf \
|
||||
file \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
make \
|
||||
pkgconf \
|
||||
re2c
|
||||
|
||||
# persistent / runtime deps
|
||||
RUN apk add --no-cache --virtual .persistent-deps \
|
||||
ca-certificates \
|
||||
@ -38,8 +27,11 @@ ENV PHP_VERSION 5.6.21
|
||||
ENV PHP_FILENAME php-5.6.21.tar.xz
|
||||
ENV PHP_SHA256 566ff1a486cb0485ed477a91ea292423f77a58671270ff73b74e67e3ce7084f9
|
||||
|
||||
ENV PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
$PHPIZE_DEPS \
|
||||
curl-dev \
|
||||
gnupg \
|
||||
libedit-dev \
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -1,16 +1,5 @@
|
||||
FROM alpine:3.3
|
||||
|
||||
# phpize deps
|
||||
RUN apk add --no-cache --virtual .phpize-deps \
|
||||
autoconf \
|
||||
file \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
make \
|
||||
pkgconf \
|
||||
re2c
|
||||
|
||||
# persistent / runtime deps
|
||||
RUN apk add --no-cache --virtual .persistent-deps \
|
||||
ca-certificates \
|
||||
@ -37,8 +26,11 @@ ENV PHP_VERSION 7.0.6
|
||||
ENV PHP_FILENAME php-7.0.6.tar.xz
|
||||
ENV PHP_SHA256 1b237a9455e5476a425dbb9d99966bad68107747c601958cb9558a7fb49ab419
|
||||
|
||||
ENV PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
$PHPIZE_DEPS \
|
||||
curl-dev \
|
||||
gnupg \
|
||||
libedit-dev \
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -1,16 +1,5 @@
|
||||
FROM alpine:3.3
|
||||
|
||||
# phpize deps
|
||||
RUN apk add --no-cache --virtual .phpize-deps \
|
||||
autoconf \
|
||||
file \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
make \
|
||||
pkgconf \
|
||||
re2c
|
||||
|
||||
# persistent / runtime deps
|
||||
RUN apk add --no-cache --virtual .persistent-deps \
|
||||
ca-certificates \
|
||||
@ -38,8 +27,11 @@ ENV PHP_VERSION 7.0.6
|
||||
ENV PHP_FILENAME php-7.0.6.tar.xz
|
||||
ENV PHP_SHA256 1b237a9455e5476a425dbb9d99966bad68107747c601958cb9558a7fb49ab419
|
||||
|
||||
ENV PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
$PHPIZE_DEPS \
|
||||
curl-dev \
|
||||
gnupg \
|
||||
libedit-dev \
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -1,16 +1,5 @@
|
||||
FROM alpine:3.3
|
||||
|
||||
# phpize deps
|
||||
RUN apk add --no-cache --virtual .phpize-deps \
|
||||
autoconf \
|
||||
file \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
make \
|
||||
pkgconf \
|
||||
re2c
|
||||
|
||||
# persistent / runtime deps
|
||||
RUN apk add --no-cache --virtual .persistent-deps \
|
||||
ca-certificates \
|
||||
@ -38,8 +27,11 @@ ENV PHP_VERSION 7.0.6
|
||||
ENV PHP_FILENAME php-7.0.6.tar.xz
|
||||
ENV PHP_SHA256 1b237a9455e5476a425dbb9d99966bad68107747c601958cb9558a7fb49ab419
|
||||
|
||||
ENV PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
$PHPIZE_DEPS \
|
||||
curl-dev \
|
||||
gnupg \
|
||||
libedit-dev \
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
@ -55,6 +55,11 @@ if [ -z "$exts" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${PHPIZE_DEPS:="autoconf file g++ gcc libc-dev make pkgconf re2c"}
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS
|
||||
fi
|
||||
|
||||
for ext in $exts; do
|
||||
(
|
||||
cd "$ext"
|
||||
@ -69,3 +74,7 @@ for ext in $exts; do
|
||||
make -j"$j" clean
|
||||
)
|
||||
done
|
||||
|
||||
if [ -e /lib/apk/db/installed ]; then
|
||||
apk del .phpize-deps
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user