Skip to content

Commit be08d20

Browse files
authored
Merge pull request #581 from infosiftr/salty
Add libsodium to 7.2+
2 parents b4e5b2b + fd8e152 commit be08d20

File tree

13 files changed

+40
-0
lines changed

13 files changed

+40
-0
lines changed

7.2/alpine3.6/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ RUN set -xe \
9595
curl-dev \
9696
libedit-dev \
9797
libressl-dev \
98+
libsodium-dev \
9899
libxml2-dev \
99100
sqlite-dev \
100101
\
@@ -117,6 +118,8 @@ RUN set -xe \
117118
--enable-mbstring \
118119
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
119120
--enable-mysqlnd \
121+
# https://wiki.php.net/rfc/libsodium
122+
--with-sodium \
120123
\
121124
--with-curl \
122125
--with-libedit \

7.2/alpine3.6/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ RUN set -xe \
9696
curl-dev \
9797
libedit-dev \
9898
libressl-dev \
99+
libsodium-dev \
99100
libxml2-dev \
100101
sqlite-dev \
101102
\
@@ -118,6 +119,8 @@ RUN set -xe \
118119
--enable-mbstring \
119120
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
120121
--enable-mysqlnd \
122+
# https://wiki.php.net/rfc/libsodium
123+
--with-sodium \
121124
\
122125
--with-curl \
123126
--with-libedit \

7.2/alpine3.6/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ RUN set -xe \
9696
curl-dev \
9797
libedit-dev \
9898
libressl-dev \
99+
libsodium-dev \
99100
libxml2-dev \
100101
sqlite-dev \
101102
\
@@ -118,6 +119,8 @@ RUN set -xe \
118119
--enable-mbstring \
119120
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
120121
--enable-mysqlnd \
122+
# https://wiki.php.net/rfc/libsodium
123+
--with-sodium \
121124
\
122125
--with-curl \
123126
--with-libedit \

7.2/alpine3.7/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ RUN set -xe \
9595
curl-dev \
9696
libedit-dev \
9797
libressl-dev \
98+
libsodium-dev \
9899
libxml2-dev \
99100
sqlite-dev \
100101
\
@@ -117,6 +118,8 @@ RUN set -xe \
117118
--enable-mbstring \
118119
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
119120
--enable-mysqlnd \
121+
# https://wiki.php.net/rfc/libsodium
122+
--with-sodium \
120123
\
121124
--with-curl \
122125
--with-libedit \

7.2/alpine3.7/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ RUN set -xe \
9696
curl-dev \
9797
libedit-dev \
9898
libressl-dev \
99+
libsodium-dev \
99100
libxml2-dev \
100101
sqlite-dev \
101102
\
@@ -118,6 +119,8 @@ RUN set -xe \
118119
--enable-mbstring \
119120
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
120121
--enable-mysqlnd \
122+
# https://wiki.php.net/rfc/libsodium
123+
--with-sodium \
121124
\
122125
--with-curl \
123126
--with-libedit \

7.2/alpine3.7/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ RUN set -xe \
9696
curl-dev \
9797
libedit-dev \
9898
libressl-dev \
99+
libsodium-dev \
99100
libxml2-dev \
100101
sqlite-dev \
101102
\
@@ -118,6 +119,8 @@ RUN set -xe \
118119
--enable-mbstring \
119120
# --enable-mysqlnd is included here because it's harder to compile after the fact than extensions are (since it's a plugin for several extensions, not an extension in itself)
120121
--enable-mysqlnd \
122+
# https://wiki.php.net/rfc/libsodium
123+
--with-sodium \
121124
\
122125
--with-curl \
123126
--with-libedit \

7.2/stretch/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ RUN set -eux; \
163163
libargon2-0-dev \
164164
libcurl4-openssl-dev \
165165
libedit-dev \
166+
libsodium-dev \
166167
libsqlite3-dev \
167168
libssl-dev \
168169
libxml2-dev \
@@ -199,6 +200,8 @@ RUN set -eux; \
199200
--enable-mysqlnd \
200201
# https://wiki.php.net/rfc/argon2_password_hash (7.2+)
201202
--with-password-argon2 \
203+
# https://wiki.php.net/rfc/libsodium
204+
--with-sodium \
202205
\
203206
--with-curl \
204207
--with-libedit \

7.2/stretch/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ RUN set -eux; \
104104
libargon2-0-dev \
105105
libcurl4-openssl-dev \
106106
libedit-dev \
107+
libsodium-dev \
107108
libsqlite3-dev \
108109
libssl-dev \
109110
libxml2-dev \
@@ -140,6 +141,8 @@ RUN set -eux; \
140141
--enable-mysqlnd \
141142
# https://wiki.php.net/rfc/argon2_password_hash (7.2+)
142143
--with-password-argon2 \
144+
# https://wiki.php.net/rfc/libsodium
145+
--with-sodium \
143146
\
144147
--with-curl \
145148
--with-libedit \

7.2/stretch/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ RUN set -eux; \
105105
libargon2-0-dev \
106106
libcurl4-openssl-dev \
107107
libedit-dev \
108+
libsodium-dev \
108109
libsqlite3-dev \
109110
libssl-dev \
110111
libxml2-dev \
@@ -141,6 +142,8 @@ RUN set -eux; \
141142
--enable-mysqlnd \
142143
# https://wiki.php.net/rfc/argon2_password_hash (7.2+)
143144
--with-password-argon2 \
145+
# https://wiki.php.net/rfc/libsodium
146+
--with-sodium \
144147
\
145148
--with-curl \
146149
--with-libedit \

7.2/stretch/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ RUN set -eux; \
105105
libargon2-0-dev \
106106
libcurl4-openssl-dev \
107107
libedit-dev \
108+
libsodium-dev \
108109
libsqlite3-dev \
109110
libssl-dev \
110111
libxml2-dev \
@@ -141,6 +142,8 @@ RUN set -eux; \
141142
--enable-mysqlnd \
142143
# https://wiki.php.net/rfc/argon2_password_hash (7.2+)
143144
--with-password-argon2 \
145+
# https://wiki.php.net/rfc/libsodium
146+
--with-sodium \
144147
\
145148
--with-curl \
146149
--with-libedit \

0 commit comments

Comments
 (0)