Skip to content

Commit 3fc1837

Browse files
committed
fix apt install no interactive
1 parent 6f0849a commit 3fc1837

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ RUN chmod +x /usr/local/bin/rust-wasm.sh \
3838
# rustup
3939
&& curl https://sh.rustup.rs -sSf | sh -s -- -y \
4040
# clean
41-
&& apt-get purge git build-essential cmake curl g++ python \
42-
&& apt-get autoclean \
43-
&& apt-get clean \
41+
&& apt-get purge -y git build-essential cmake curl g++ python \
42+
&& apt-get autoclean -y \
43+
&& apt-get clean -y \
4444
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /rust-wasm
4545

4646
ENV PATH /root/.cargo/bin:/rust-wasm-bin/llvm/bin:/rust-wasm-bin/binaryen/bin:${PATH}

0 commit comments

Comments
 (0)