@@ -58,8 +58,6 @@ RUN pacman -Syyu --noconfirm nodejs-lts-hydrogen npm pnpm yarn npm-check-updates
58
58
&& npm install -g @microsoft/rush \
59
59
&& echo "export NODE_PATH=$NODE_PATH" | tee -a "/etc/zsh/zshenv"
60
60
61
- RUN yay -Syyu --noconfirm ts-node
62
-
63
61
# install golang
64
62
ARG GO111MODULE=on
65
63
ARG GOPATH=/opt/go
@@ -83,6 +81,24 @@ RUN pacman -Syyu --noconfirm go \
83
81
&& go env -w GOPROXY=https://goproxy.io,direct \
84
82
&& chown -R coder:coder "${GOPATH}"
85
83
84
+ # install rust
85
+ ARG RUSTPATH=/opt/rust
86
+ ENV RUSTUP_HOME=${RUSTPATH}
87
+ ENV CARGO_HOME=${RUSTPATH}
88
+ RUN export RUSTUP_HOME=${RUSTPATH} \
89
+ && export CARGO_HOME=${RUSTPATH} \
90
+ && echo "export PATH=\${PATH}:${RUSTPATH}/bin" | tee -a "/etc/zsh/zshenv" \
91
+ && echo "export RUSTUP_HOME=${RUSTPATH}" | tee -a "/etc/zsh/zshenv" \
92
+ && echo "export CARGO_HOME=${RUSTPATH}" | tee -a "/etc/zsh/zshenv" \
93
+ && pacman -Syyu --noconfirm rustup \
94
+ && rustup target default \
95
+ && rustup target add wasm32-unknown-unknown \
96
+ && cargo install difftastic \
97
+ && cargo install cargo-generate \
98
+ && cargo install wasm-pack \
99
+ && cargo install trunk wasm-bindgen-cli \
100
+ && chown -R coder:coder "${RUSTPATH}"
101
+
86
102
# install python
87
103
RUN pacman -Syyu --noconfirm python python-pip
88
104
@@ -92,13 +108,16 @@ RUN pacman -Syyu --noconfirm jdk17-openjdk
92
108
# install php
93
109
RUN pacman -Syyu --noconfirm php
94
110
111
+ # install php
112
+ RUN pacman -Syyu --noconfirm erlang elixir
113
+
95
114
# install ruby
96
115
RUN pacman -Syyu --noconfirm ruby && gem install bundler jekyll jekyll-remote-theme
97
116
98
117
# install flutter
99
118
ARG PUB_CACHE=/opt/flutter/.pub
100
119
ENV PUB_CACHE=/opt/flutter/.pub
101
- RUN yay -Syyu --noconfirm flutter dart \
120
+ RUN pacman -Syyu --noconfirm flutter dart \
102
121
&& echo "export PATH=\"\$PATH\":\"$PUB_CACHE/bin\"" | tee -a "/etc/zsh/zshenv" \
103
122
&& dart pub global activate mason_cli \
104
123
&& dart pub global activate melos
0 commit comments