From a5ef1770c3118e90b675217856a1ef14e4229e72 Mon Sep 17 00:00:00 2001 From: Gal Schlezinger Date: Mon, 25 Feb 2019 12:01:11 +0200 Subject: [PATCH] Use `perl-utils` instead of custom written shasum (#67) --- .ci/shasum | 16 ---------------- Dockerfile | 3 +-- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100755 .ci/shasum diff --git a/.ci/shasum b/.ci/shasum deleted file mode 100755 index fba946c4e..000000000 --- a/.ci/shasum +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -shift -ALGO=$1 -shift -case $ALGO in - 1) - sha1sum $@ - ;; - 256) - sha256sum $@ - ;; - *) - >&2 echo "Algorithm $ALGO not found" - exit 1 - ;; -esac diff --git a/Dockerfile b/Dockerfile index 5ed13c57a..196e9a014 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM frolvlad/alpine-glibc -RUN apk add --no-cache nodejs bash npm curl g++ make m4 patch gmp-dev perl git jq -ADD .ci/shasum /usr/bin/shasum +RUN apk add --no-cache nodejs bash npm curl g++ make m4 patch gmp-dev perl git jq perl-utils USER root