From cd9a72145e091cb900c40e1d6223d04f0fd4b197 Mon Sep 17 00:00:00 2001 From: Tobias Berger <14962962+Toby222@users.noreply.github.com> Date: Thu, 27 Jan 2022 09:56:14 +0000 Subject: [PATCH] codespace --- .devcontainer/Dockerfile | 5 +++++ .devcontainer/devcontainer.json | 7 +++++++ 2 files changed, 12 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..7f8c0c8 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,5 @@ +FROM archlinux +RUN pacman-key --init +RUN pacman-key --populate +RUN pacman --noconfirm -Syu git yarn +RUN git config --global core.editor code --wait \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..3ac4ead --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,7 @@ +{ + "name": "Docker Container", + "build": { + "dockerfile": "Dockerfile", + }, + "postCreateCommand": "git submodule update --init && yarn install" +}