From 234619c2997eb231bf84df1110b929aabfd75e78 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Fri, 3 May 2019 23:12:06 +0800 Subject: [PATCH] Clone libsodium with specify single branch in Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 35eaf76..7fe29ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,9 +32,8 @@ ENV LIBSODIUM_GIT_URL https://github.com/jedisct1/libsodium.git RUN set -x && \ mkdir -p /tmp/src && \ cd /tmp/src && \ - git clone "$LIBSODIUM_GIT_URL" && \ + git clone --branch stable "$LIBSODIUM_GIT_URL" && \ cd libsodium && \ - git checkout stable && \ env CFLAGS=-Ofast ./configure --disable-dependency-tracking && \ make check && make install && \ ldconfig /usr/local/lib && \