Skip to content

Commit 34d632a

Browse files
committed
fix(editor-server): Fix archlinux.
1 parent bffb589 commit 34d632a

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

docker/editor-server/Dockerfile.arch

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -84,30 +84,6 @@ RUN pacman -Syyu --noconfirm go \
8484
# install python
8585
RUN pacman -Syyu --noconfirm python python-pip
8686

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-
11187
# install php
11288
RUN pacman -Syyu --noconfirm php
11389

@@ -117,8 +93,7 @@ RUN pacman -Syyu --noconfirm ruby && gem install bundler jekyll jekyll-remote-th
11793
# install flutter
11894
ARG PUB_CACHE=/opt/flutter/.pub
11995
ENV PUB_CACHE=/opt/flutter/.pub
120-
RUN pacman -Syyu --noconfirm gtk3 \
121-
&& yay -Syyu --noconfirm flutter \
96+
RUN yay -Syyu --noconfirm flutter dart \
12297
&& dart pub global activate mason_cli \
12398
&& dart pub global activate flutterpi_tool \
12499
&& dart pub global activate melos

0 commit comments

Comments
 (0)