From edf638b1ae9d74124f0270582fa35cfb6d14a354 Mon Sep 17 00:00:00 2001 From: John Gerrard Holland Date: Mon, 5 Aug 2024 18:51:07 +0000 Subject: [PATCH 1/2] update devcontainer to something which will run on ARM machines --- .devcontainer/devcontainer.json | 10 +++++++++- .github/dependabot.yml | 12 ++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/dependabot.yml diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 76edfa61..c2b3028c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1 +1,9 @@ -{"image":"mcr.microsoft.com/devcontainers/universal:2"} \ No newline at end of file +{ + "image": "mcr.microsoft.com/devcontainers/base:jammy", + "features": { + "ghcr.io/devcontainers/features/python:1": {}, + "ghcr.io/devcontainers-contrib/features/hatch:2": {}, + "ghcr.io/va-h/devcontainers-features/uv:1": {} + }, + "postCreateCommand": "hatch env create" +} diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..f33a02cd --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for more information: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://containers.dev/guide/dependabot + +version: 2 +updates: + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly From f0b7427d00455508db41aaf6b426df0531c2fd72 Mon Sep 17 00:00:00 2001 From: John Gerrard Holland Date: Mon, 5 Aug 2024 18:53:13 +0000 Subject: [PATCH 2/2] remove additional features (add them back later) --- .devcontainer/devcontainer.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c2b3028c..bb6b8697 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,9 +1,6 @@ { "image": "mcr.microsoft.com/devcontainers/base:jammy", "features": { - "ghcr.io/devcontainers/features/python:1": {}, - "ghcr.io/devcontainers-contrib/features/hatch:2": {}, - "ghcr.io/va-h/devcontainers-features/uv:1": {} - }, - "postCreateCommand": "hatch env create" + "ghcr.io/devcontainers/features/python:1": {} + } }