fix: tinygo
This commit is contained in:
parent
2f1624c552
commit
d238718c09
1 changed files with 2 additions and 3 deletions
|
|
@ -61,8 +61,7 @@ ENV PATH="/usr/local/go/bin:$PATH"
|
|||
|
||||
# tinygo Download the latest binary tarball
|
||||
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
|
||||
# Extract to /usr/local
|
||||
RUN curl -LO https://github.com/tinygo-org/tinygo/releases/download/v${TGO_VER}/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)
|
||||
ENV PATH="$PATH:/usr/local/tinygo/bin"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue