Closed vasu-vi closed 5 years ago
The shasum
tool seems to be a part of the perl
package.
FROM debian
ENV CHPHAROS_TOKEN
WORKDIR /pharos
RUN apt-get update -y
RUN apt-get install -y curl perl
RUN curl -s https://get.pharos.sh | bash
RUN chpharos-exec -i 1.3.3 pharos --version
Source:
Error:
sha files:
Solution 1
Update /usr/local/share/chpharos/chpharos.sh and replace 'shasum -a' with 'sha256sum'
Solution 2
Download directly a specific version via this command:
curl -X GET -o ./pharos $(curl -X GET https://get.pharos.sh/versions/download/pharos-cluster-linux-amd64-1.3.3 -k --header "Authorization: Bearer $TOKEN")
where TOKEN is located in ~/.chpharosrc (after you successfully login)