Skip to content

Commit 8644f91

Browse files
committed
Apr 23, 2026, 3:30 PM
1 parent 7dd5a57 commit 8644f91

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

.devcontainer/install-gascity.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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

0 commit comments

Comments
 (0)