Welcome! Please see the About page for a little more info on how this works.

+1 vote
ago in Tools by
closed ago by

This commit broke our Docker build: https://github.com/clojure/brew-install/commit/d6d540756cb0a6342374db529d07f1de35d5bc71

because shasum is a perl executable provided on Fedora by perl-Digest-SHA-1 rpm, but it's not available on the UBI platform. The standard way to validate checksums is through sha256sum provided by coreutils on most (if not all) linux distributions.

The jira ticket even talks about sha256sum, but then the commit doesn't use it: https://clojure.atlassian.net/jira/software/c/projects/TDEPS/issues?jql=project = TDEPS ORDER BY created DESC&selectedIssue=TDEPS-269

closed with the note: Released the linux-installer change in 1.12.4.1602
ago by
Ah, this just bit me too for cljdoc when building its docker image:

     > [ 4/12] RUN curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh     && chmod +x linux-install.sh     && ./linux-install.sh:
    0.138   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    0.139                                  Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    100  2137  100  2137    0     0  54156      0 --:--:-- --:--:-- --:--:-- 54156
    0.184 Downloading and expanding tar
    0.264 ./linux-install.sh: line 30: shasum: command not found

1 Answer

0 votes
ago by

Thanks, I logged as https://clojure.atlassian.net/browse/TDEPS-275 and will change at least the Linux installer today, need to decide which to use for Posix installer.

...