From 30cc8658b40cb2bb028bd31aab6c19344686e6ff Mon Sep 17 00:00:00 2001 From: Kishan Takoordyal Date: Fri, 12 Feb 2021 08:20:25 +0400 Subject: [PATCH] init --- Dockerfile | 20 ++++++++++++++++++++ run-docker.sh | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 Dockerfile create mode 100755 run-docker.sh diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..07b08af --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/run-docker.sh b/run-docker.sh new file mode 100755 index 0000000..c8f9ecb --- /dev/null +++ b/run-docker.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +docker build -t kinesis-arch . +docker run -d --tty --name kinesis-arch kinesis-arch