Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
botway(coder): install go manually
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed May 28, 2023
1 parent f392dc4 commit 5274480
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions coder/Dockerfile.coder
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ RUN curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash - && \

RUN sudo npm i -g npm@latest pnpm@latest yarn@latest @botway/strg@latest

### Go ###
RUN wget "https://dl.google.com/go/$(curl https://go.dev/VERSION?m=text).linux-amd64.tar.gz"
RUN sudo tar -C /usr/local -xzf "$(curl https://go.dev/VERSION?m=text).linux-amd64.tar.gz"
ENV GOROOT /usr/local/go/bin
ENV PATH /go/bin:$PATH
RUN rm "$(curl https://go.dev/VERSION?m=text).linux-amd64.tar.gz"
RUN echo 'alias go="/usr/local/go/bin/go"' >> ~/.profile

### Homebrew ###
RUN mkdir ~/.cache && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Expand All @@ -28,8 +36,8 @@ ENV INFOPATH="$INFOPATH:/home/linuxbrew/.linuxbrew/share/info"

RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin/:$PATH' >> ~/.profile

### CMake, GitHub CLI, Deno, Go, Botway CLI, Rust, .NET, MongoDB, MySQL, Redis and Railway CLI ###
RUN brew update && brew install cmake gh deno go abdfnx/tap/botway rust rustup-init dotnet mongodb/brew/mongodb-community mysql redis railwayapp/tap/rlwy
### CMake, GitHub CLI, Deno, Botway CLI, Rust, .NET, MongoDB, MySQL, Redis and Railway CLI ###
RUN brew update && brew install cmake gh deno abdfnx/tap/botway rust rustup-init dotnet mongodb/brew/mongodb-community mysql redis railwayapp/tap/rlwy

### PostgreSQL ###
RUN sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
Expand Down

0 comments on commit 5274480

Please sign in to comment.