@@ -84,30 +84,6 @@ RUN pacman -Syyu --noconfirm go \
84
84
# install python
85
85
RUN pacman -Syyu --noconfirm python python-pip
86
86
87
- # install rust
88
- ARG RUSTPATH=/opt/rust
89
- ARG RUSTUP_HOME=/opt/rust
90
- ARG CARGO_HOME=/opt/rust
91
- ENV RUSTUP_HOME=${RUSTPATH}
92
- ENV CARGO_HOME=${RUSTPATH}
93
- RUN echo "export PATH=\${PATH}:${RUSTPATH}/bin" | tee -a "/etc/zsh/zshenv" \
94
- && echo "export RUSTUP_HOME=${RUSTPATH}" | tee -a "/etc/zsh/zshenv" \
95
- && echo "export CARGO_HOME=${RUSTPATH}" | tee -a "/etc/zsh/zshenv" \
96
- && pacman -Syyu --noconfirm rustup \
97
- && rustup default stable \
98
- && rustup target add wasm32-unknown-unknown \
99
- && rustup target add x86_64-unknown-freebsd \
100
- && rustup target add x86_64-apple-darwin \
101
- && rustup target add x86_64-pc-windows-msvc \
102
- && rustup target add aarch64-apple-darwin \
103
- && rustup target add aarch64-apple-ios \
104
- && rustup target add aarch64-linux-android \
105
- && cargo install difftastic \
106
- && cargo install cargo-generate \
107
- && cargo install wasm-pack \
108
- && cargo install trunk wasm-bindgen-cli \
109
- && chown -R coder:coder "${RUSTPATH}"
110
-
111
87
# install php
112
88
RUN pacman -Syyu --noconfirm php
113
89
@@ -117,8 +93,7 @@ RUN pacman -Syyu --noconfirm ruby && gem install bundler jekyll jekyll-remote-th
117
93
# install flutter
118
94
ARG PUB_CACHE=/opt/flutter/.pub
119
95
ENV PUB_CACHE=/opt/flutter/.pub
120
- RUN pacman -Syyu --noconfirm gtk3 \
121
- && yay -Syyu --noconfirm flutter \
96
+ RUN yay -Syyu --noconfirm flutter dart \
122
97
&& dart pub global activate mason_cli \
123
98
&& dart pub global activate flutterpi_tool \
124
99
&& dart pub global activate melos
0 commit comments