Skip to content
Snippets Groups Projects
Commit a1f467e2 authored by jurgenhaas's avatar jurgenhaas
Browse files

Add Sodium support for PHP version 7.2

parent a55a015b
No related branches found
No related tags found
No related merge requests found
Pipeline #12056 failed
...@@ -81,6 +81,9 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \ ...@@ -81,6 +81,9 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
else \ else \
apk add --no-cache php7-fileinfo php7-tokenizer php7-simplexml php7-xmlreader php7-xmlwriter ; \ apk add --no-cache php7-fileinfo php7-tokenizer php7-simplexml php7-xmlreader php7-xmlwriter ; \
fi && \ fi && \
if [ "${PHP_VERSION}" = "7.2" ]; then \
apk add --no-cache php7-sodium ; \
fi && \
rm /etc/apk/repositories && \ rm /etc/apk/repositories && \
mv /etc/apk/repositories.org /etc/apk/repositories && \ mv /etc/apk/repositories.org /etc/apk/repositories && \
apk update && \ apk update && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment