We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc2e4ce + 7822605 commit 7079e8bCopy full SHA for 7079e8b
1 file changed
router/build.sh
@@ -11,6 +11,7 @@ if [[ -z $DOCKER_BUILD ]]; then
11
fi
12
13
export VERSION_NGINX=nginx-1.9.2
14
+export SHA256_NGINX=80b6425be14a005c8cb15115f3c775f4bc06bf798aa1affaee84ed9cf641ed78
15
export VERSION_NAXSI=0d53a64ed856e694fcb4038748c8cf6d5551a603
16
17
export BUILD_PATH=/tmp/build
@@ -39,6 +40,7 @@ apk add --update-cache \
39
40
41
# grab the source files
42
curl -sSL http://nginx.org/download/$VERSION_NGINX.tar.gz -o $BUILD_PATH/$VERSION_NGINX.tar.gz
43
+echo "$SHA256_NGINX *$VERSION_NGINX.tar.gz" | sha256sum -c - || exit 10
44
curl -sSL https://github.com/nbs-system/naxsi/archive/$VERSION_NAXSI.tar.gz -o $BUILD_PATH/$VERSION_NAXSI.tar.gz
45
46
# expand the source files
0 commit comments