feat: Added devcontainers
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM dockerhub.dsi.tecnico.ulisboa.pt/nanosatlab/istsat-2/incp:develop
|
||||
|
||||
RUN apk update
|
||||
|
||||
# Install friendlier shell
|
||||
RUN apk add fish
|
||||
|
||||
# Install compilers toolchain
|
||||
RUN apk add git cmake ninja openocd gdb-multiarch build-base wget ca-certificates
|
||||
ENV ARM_GCC_VERSION=15.2.rel1
|
||||
ENV ARM_GCC_URL=https://developer.arm.com/-/media/Files/downloads/gnu/${ARM_GCC_VERSION}/binrel/arm-gnu-toolchain-${ARM_GCC_VERSION}-x86_64-arm-none-eabi.tar.xz
|
||||
|
||||
RUN mkdir -p /opt && \
|
||||
wget -O /tmp/arm-gcc.tar.xz ${ARM_GCC_URL} && \
|
||||
tar -xf /tmp/arm-gcc.tar.xz -C /opt && \
|
||||
rm /tmp/arm-gcc.tar.xz
|
||||
|
||||
ENV PATH="/opt/arm-gnu-toolchain-${ARM_GCC_VERSION}-x86_64-arm-none-eabi/bin:${PATH}"
|
||||
Reference in New Issue
Block a user