21 lines
445 B
Docker
21 lines
445 B
Docker
FROM archlinux/base:latest
|
|
|
|
RUN pacman -Syy --noconfirm
|
|
|
|
RUN pacman -S iputils nano gcc nodejs npm unzip --noconfirm
|
|
|
|
RUN node -v && \
|
|
npm i npm@latest -g && \
|
|
npm -v
|
|
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh && \
|
|
rustc --version
|
|
|
|
RUN cargo new hello_world && \
|
|
cd hello_world/ && \
|
|
cargo run
|
|
|
|
RUN curl -fsSL https://deno.land/x/install/install.sh | sh && \
|
|
deno upgrade && \
|
|
deno --version
|