Revert Dockerfile

network
probonopd 1 week ago
parent cd93cac064
commit 5cabb8cb9d
  1. 12
      .devcontainer/Dockerfile
  2. 8
      .devcontainer/devcontainer.json

@ -1,12 +0,0 @@
FROM mcr.microsoft.com/devcontainers/universal:linux
RUN mkdir -p /opt/gcc && \
cd /opt/gcc && \
wget -q https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz && \
tar xf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz && \
rm gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz && \
wget -q https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz && \
tar xf gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz && \
rm gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz
ENV PATH=/opt/gcc/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf/bin:/opt/gcc/gcc-arm-10.3-2021.07-x86_64-arm-none-eabi/bin:$PATH

@ -1,9 +1,3 @@
{ {
"build": { "postCreateCommand": "echo 'Hello, Dev Container!'"
"dockerfile": "Dockerfile"
},
"containerEnv": {
"PATH": "/opt/gcc/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf/bin:/opt/gcc/gcc-arm-10.3-2021.07-x86_64-arm-none-eabi/bin:${PATH}"
},
"postCreateCommand": "export RPI=3 && ./build.sh"
} }

Loading…
Cancel
Save