This commit is contained in:
Kishan Takoordyal 2021-02-12 08:20:25 +04:00
commit 30cc8658b4
No known key found for this signature in database
GPG Key ID: 304DF64F0804D6A1
2 changed files with 24 additions and 0 deletions

20
Dockerfile Normal file
View File

@ -0,0 +1,20 @@
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

4
run-docker.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
docker build -t kinesis-arch .
docker run -d --tty --name kinesis-arch kinesis-arch