fix: tinygo

This commit is contained in:
Andy Bunce 2026-03-25 22:30:26 +00:00
parent 2f1624c552
commit d238718c09

View file

@ -61,8 +61,7 @@ ENV PATH="/usr/local/go/bin:$PATH"
# tinygo Download the latest binary tarball # tinygo Download the latest binary tarball
ARG TGO_VER=0.40.1 ARG TGO_VER=0.40.1
RUN curl -LO https://github.com/tinygo-org/tinygo/releases/download/v${TGO_VER}/tinygo_${TGO_VER}_amd64.tar.gz RUN curl -LO https://github.com/tinygo-org/tinygo/releases/download/v${TGO_VER}/tinygo_${TGO_VER}_amd64.tar.gz && \
# Extract to /usr/local
sudo tar -C /usr/local -xzf tinygo_${TGO_VER}_amd64.tar.gz sudo tar -C /usr/local -xzf tinygo_${TGO_VER}_amd64.tar.gz
# Add TinyGo to your PATH (add to ~/.bashrc or ~/.zshrc for persistence) # Add TinyGo to your PATH (add to ~/.bashrc or ~/.zshrc for persistence)
ENV PATH="$PATH:/usr/local/tinygo/bin" ENV PATH="$PATH:/usr/local/tinygo/bin"