diff options
| author | Henny022p <info@henny022.de> | 2025-01-07 22:55:58 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2025-01-07 22:55:58 +0100 |
| commit | cc06c58fb48253bcad3507ddd99620713e2e4efe (patch) | |
| tree | cdc7748bdcfd1d41343fd97735c66405cf0b9443 | |
| parent | 121b8c3e4683832f71515c93db6e9395c1a096c8 (diff) | |
add basic devcontainer setup
| -rw-r--r-- | .devcontainer/Containerfile | 21 | ||||
| -rw-r--r-- | .devcontainer/devcontainer.json | 6 |
2 files changed, 27 insertions, 0 deletions
diff --git a/.devcontainer/Containerfile b/.devcontainer/Containerfile new file mode 100644 index 00000000..48fd6bae --- /dev/null +++ b/.devcontainer/Containerfile @@ -0,0 +1,21 @@ +FROM debian + +RUN apt update && apt upgrade && apt install -y --no-install-recommends \ + cmake \ + g++ \ + gcc \ + gcc-arm-none-eabi \ + libpng-dev \ + make \ + python3 \ + python3-pycparser \ + && rm -rf /var/lib/apt/lists/* + +ADD https://github.com/pret/agbcc.git /agbcc + +RUN cd /agbcc && \ + ./build.sh && \ + mkdir -p /agbcc-install && \ + ./install.sh /agbcc-install + +ENV AGBCC_PATH=/agbcc-install/tools/agbcc diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..52cc931e --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,6 @@ +{ + "name": "zeldaret/tmc-dev", + "build": { + "dockerfile": "Containerfile" + } +}
\ No newline at end of file |
