Skip to content

Commit

Permalink
Merge pull request #850 from petk/patch-php-7.4-alpha
Browse files Browse the repository at this point in the history
Remove the Alpine argon2 library fix
  • Loading branch information
yosifkit authored Jun 26, 2019
2 parents 2e2df06 + 820403d commit 04e67dc
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 23 deletions.
3 changes: 0 additions & 3 deletions 7.4-rc/alpine3.10/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ RUN set -eux; \
export CFLAGS="$PHP_CFLAGS" \
CPPFLAGS="$PHP_CPPFLAGS" \
LDFLAGS="$PHP_LDFLAGS" \
# fix ARGON2 detection for 7.4-alpha1 https://github.com/docker-library/php/pull/840#pullrequestreview-249660894
ARGON2_LIBS="-largon2" \
ARGON2_CFLAGS="-I/usr/include" \
; \
docker-php-source extract; \
cd /usr/src/php; \
Expand Down
3 changes: 0 additions & 3 deletions 7.4-rc/alpine3.10/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ RUN set -eux; \
export CFLAGS="$PHP_CFLAGS" \
CPPFLAGS="$PHP_CPPFLAGS" \
LDFLAGS="$PHP_LDFLAGS" \
# fix ARGON2 detection for 7.4-alpha1 https://github.com/docker-library/php/pull/840#pullrequestreview-249660894
ARGON2_LIBS="-largon2" \
ARGON2_CFLAGS="-I/usr/include" \
; \
docker-php-source extract; \
cd /usr/src/php; \
Expand Down
3 changes: 0 additions & 3 deletions 7.4-rc/alpine3.10/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ RUN set -eux; \
export CFLAGS="$PHP_CFLAGS" \
CPPFLAGS="$PHP_CPPFLAGS" \
LDFLAGS="$PHP_LDFLAGS" \
# fix ARGON2 detection for 7.4-alpha1 https://github.com/docker-library/php/pull/840#pullrequestreview-249660894
ARGON2_LIBS="-largon2" \
ARGON2_CFLAGS="-I/usr/include" \
; \
docker-php-source extract; \
cd /usr/src/php; \
Expand Down
3 changes: 0 additions & 3 deletions 7.4-rc/alpine3.9/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ RUN set -eux; \
export CFLAGS="$PHP_CFLAGS" \
CPPFLAGS="$PHP_CPPFLAGS" \
LDFLAGS="$PHP_LDFLAGS" \
# fix ARGON2 detection for 7.4-alpha1 https://github.com/docker-library/php/pull/840#pullrequestreview-249660894
ARGON2_LIBS="-largon2" \
ARGON2_CFLAGS="-I/usr/include" \
; \
docker-php-source extract; \
cd /usr/src/php; \
Expand Down
3 changes: 0 additions & 3 deletions 7.4-rc/alpine3.9/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ RUN set -eux; \
export CFLAGS="$PHP_CFLAGS" \
CPPFLAGS="$PHP_CPPFLAGS" \
LDFLAGS="$PHP_LDFLAGS" \
# fix ARGON2 detection for 7.4-alpha1 https://github.com/docker-library/php/pull/840#pullrequestreview-249660894
ARGON2_LIBS="-largon2" \
ARGON2_CFLAGS="-I/usr/include" \
; \
docker-php-source extract; \
cd /usr/src/php; \
Expand Down
3 changes: 0 additions & 3 deletions 7.4-rc/alpine3.9/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ RUN set -eux; \
export CFLAGS="$PHP_CFLAGS" \
CPPFLAGS="$PHP_CPPFLAGS" \
LDFLAGS="$PHP_LDFLAGS" \
# fix ARGON2 detection for 7.4-alpha1 https://github.com/docker-library/php/pull/840#pullrequestreview-249660894
ARGON2_LIBS="-largon2" \
ARGON2_CFLAGS="-I/usr/include" \
; \
docker-php-source extract; \
cd /usr/src/php; \
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile-alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ RUN set -eux; \
export CFLAGS="$PHP_CFLAGS" \
CPPFLAGS="$PHP_CPPFLAGS" \
LDFLAGS="$PHP_LDFLAGS" \
# fix ARGON2 detection for 7.4-alpha1 https://github.com/docker-library/php/pull/840#pullrequestreview-249660894
ARGON2_LIBS="-largon2" \
ARGON2_CFLAGS="-I/usr/include" \
; \
docker-php-source extract; \
cd /usr/src/php; \
Expand Down
2 changes: 0 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,8 @@ for version in "${versions[@]}"; do
fi
if [ "$majorVersion" = '7' -a "$minorVersion" -lt '4' ]; then
# oniguruma is part of mbstring in php 7.4+
# ARGON2 is a hack only required for alpha1: https://github.com/docker-library/php/pull/840#pullrequestreview-249660894
sed -ri \
-e '/oniguruma-dev|libonig-dev/d' \
-e '/ARGON2/d' \
"$version/$suite/$variant/Dockerfile"
else
# 7.4 and above no longer include pecl/pear: https://github.com/php/php-src/pull/3781
Expand Down

0 comments on commit 04e67dc

Please sign in to comment.