Added Dockerfile and .devcontainer (#855)

This commit is contained in:
Niema Moshiri
2023-11-26 00:21:19 -08:00
committed by GitHub
parent c802a6a014
commit 470c0ab629
2 changed files with 13 additions and 0 deletions

8
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM ubuntu:22.04
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y make wget xz-utils && \
wget -qO- "https://developer.arm.com/-/media/Files/downloads/gnu-a/10.2-2020.11/binrel/gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf.tar.xz?revision=d0b90559-3960-4e4b-9297-7ddbc3e52783&rev=d0b9055939604e4b92977ddbc3e52783&hash=0074C1529DE90C98726B80ED3EE0776C" | tar -xJ && \
mv gcc-arm-* /usr/local/bin && \
printf 'export PATH=$PATH:%s\n' /usr/local/bin/gcc-arm-*/bin >> ~/.bashrc && \
apt-get autoremove && apt-get clean && \
rm -rf ~/.cache /tmp/*

View File

@@ -0,0 +1,5 @@
{
"build": {
"dockerfile": "Dockerfile"
}
}