File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,4 +29,4 @@ RUN ARCH=$(uname -m) && \
2929# cd / && rm -rf /tmp/beads && \
3030# apt-get purge -y --no-install-recommends golang gccgo && \
3131# apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/*
32-
32+ RUN bash install-gascity.sh
Original file line number Diff line number Diff line change 1+ # Set the version you want (check https://github.com/gastownhall/gascity/releases)
2+ VERSION=0.13.3
3+
4+ # Detect platform
5+ OS=$( uname -s | tr ' [:upper:]' ' [:lower:]' )
6+ ARCH=$( uname -m)
7+ case " $ARCH " in
8+ x86_64) ARCH=amd64 ;;
9+ aarch64|arm64) ARCH=arm64 ;;
10+ esac
11+
12+ # Download and extract
13+ curl -fsSLO " https://github.com/gastownhall/gascity/releases/download/v${VERSION} /gascity_${VERSION} _${OS} _${ARCH} .tar.gz"
14+ tar -xzf " gascity_${VERSION} _${OS} _${ARCH} .tar.gz"
15+
16+ # Move to a directory on your PATH
17+ sudo install -m 755 gc /usr/local/bin/gc
18+
19+ # Verify
20+ gc version
You can’t perform that action at this time.
0 commit comments