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