From 487e270a1b6d28e79e8f7b1f171439a29d7b920b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 17 Mar 2024 11:08:45 +0100 Subject: [PATCH] add initial devcontainer config --- .devcontainer/Dockerfile | 5 +++++ .devcontainer/devcontainer.json | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..f2bdab9 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,5 @@ +FROM mcr.microsoft.com/vscode/devcontainers/base:bookworm + +RUN sed -i '0,/Components: main/{s/^Components: main/Components: main contrib non-free/}' /etc/apt/sources.list.d/debian.sources + +RUN apt-get update && apt-get -y install --no-install-recommends vice cc65 emacs vim diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..4c05911 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,8 @@ +{ + "build": { + "dockerfile": "Dockerfile" + }, + "features": { + "ghcr.io/devcontainers/features/go:1": {} + } +}