Files
protonmail-bridge-docker/build/install-golang.sh
Xiaonan Shen 5c7c5c50c6 temp x
2023-02-24 23:23:56 +08:00

12 lines
187 B
Bash

#!/bin/bash
set -ex
GOLANG_VERSION=1.18.7
ARCH=$(uname -m)
if [[ $ARCH == "riscv64" ]]; then
# There is no official riscv64 release. Use carlosedp/riscv-bringup instead.
wget