chore: Removed devcontainers
This commit is contained in:
@@ -1,35 +0,0 @@
|
|||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
||||||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
|
|
||||||
{
|
|
||||||
"name": "Existing Dockerfile",
|
|
||||||
"build": {
|
|
||||||
// Sets the run context to one level up instead of the .devcontainer folder.
|
|
||||||
"context": "..",
|
|
||||||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
|
|
||||||
"dockerfile": "../Dockerfile"
|
|
||||||
},
|
|
||||||
|
|
||||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
||||||
// "features": {},
|
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
||||||
// "forwardPorts": [],
|
|
||||||
|
|
||||||
// Uncomment the next line to run commands after the container is created.
|
|
||||||
// "postCreateCommand": "cat /etc/os-release",
|
|
||||||
|
|
||||||
// Configure tool-specific properties.
|
|
||||||
// "customizations": {},
|
|
||||||
|
|
||||||
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
|
|
||||||
// "remoteUser": "devcontainer"
|
|
||||||
|
|
||||||
"mounts": [
|
|
||||||
"type=bind,source=/dev/bus/usb,target=/dev/bus/usb"
|
|
||||||
],
|
|
||||||
|
|
||||||
"runArgs": [
|
|
||||||
"--cap-add=SYS_RAWIO",
|
|
||||||
"--device-cgroup-rule=c 189:* rmw"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
18
Dockerfile
18
Dockerfile
@@ -1,18 +0,0 @@
|
|||||||
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