From c9e4a419af736a7e5cbcc7f42e6940d30e2c5483 Mon Sep 17 00:00:00 2001 From: Theis Pieter Hollebeek Date: Fri, 13 Dec 2024 12:28:41 +0100 Subject: [PATCH] dev-env --- dev-env/Dockerfile | 5 +++++ dev-env/run | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 dev-env/Dockerfile create mode 100644 dev-env/run diff --git a/dev-env/Dockerfile b/dev-env/Dockerfile new file mode 100644 index 0000000..ff13038 --- /dev/null +++ b/dev-env/Dockerfile @@ -0,0 +1,5 @@ +FROM archlinux +RUN pacman -Syu --noconfirm +RUN pacman -S make clang git pkg-config --noconfirm +WORKDIR /workspace +ENTRYPOINT ["/bin/bash"] diff --git a/dev-env/run b/dev-env/run new file mode 100644 index 0000000..6b00638 --- /dev/null +++ b/dev-env/run @@ -0,0 +1,3 @@ +#!/bin/sh +docker build -t slige-dev-env dev-env +docker run --name dev-env --rm -it --mount type=bind,source="$(pwd)"/,target=/workspace slige-dev-env