1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-26 10:23:48 +01:00

Clone libsodium with specify single branch in Dockerfile

This commit is contained in:
Peter Dave Hello 2019-05-03 23:12:06 +08:00
parent 1a86b71a87
commit 234619c299

@ -32,9 +32,8 @@ ENV LIBSODIUM_GIT_URL https://github.com/jedisct1/libsodium.git
RUN set -x && \ RUN set -x && \
mkdir -p /tmp/src && \ mkdir -p /tmp/src && \
cd /tmp/src && \ cd /tmp/src && \
git clone "$LIBSODIUM_GIT_URL" && \ git clone --branch stable "$LIBSODIUM_GIT_URL" && \
cd libsodium && \ cd libsodium && \
git checkout stable && \
env CFLAGS=-Ofast ./configure --disable-dependency-tracking && \ env CFLAGS=-Ofast ./configure --disable-dependency-tracking && \
make check && make install && \ make check && make install && \
ldconfig /usr/local/lib && \ ldconfig /usr/local/lib && \