More tweaking on the devcontainer

This commit is contained in:
David Carley
2022-09-06 07:50:56 +00:00
parent 9babfc702e
commit f8663912b3
3 changed files with 80 additions and 37 deletions

View File

@@ -3,17 +3,5 @@
# [Choice] Debian version (use bullseye on local arm64/Apple Silicon): bullseye, buster
ARG VARIANT=bullseye
FROM mcr.microsoft.com/vscode/devcontainers/base:${VARIANT}
RUN apt update \
&& apt upgrade -y \
&& apt install -y \
build-essential git wget binfmt-support qemu gcc-9 \
parted udev zerofree gcc-avr avr-libc avrdude python3 python3-pip python3-tornado \
inetutils-ping curl unzip python3-setuptools gcc-arm-linux-gnueabihf bc vim locate sudo \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9 \
&& /usr/bin/python3 -m pip install -U yapf \
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
&& apt install -y nodejs \
&& mkdir -p /root/.ssh \
&& echo "Host onefinity" > /root/.ssh/config \
&& echo "\tUser bbmc" >> /root/.ssh/config
COPY ./install_tools.sh /tmp/install_tools.sh
RUN /tmp/install_tools.sh