Update development container

This commit is contained in:
Robin Dietzel 2025-06-16 16:44:09 +02:00
parent 674dbb96c2
commit f03dedf91c
2 changed files with 21 additions and 18 deletions

View File

@ -4,23 +4,20 @@ FROM ubuntu:22.04
ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get -y update && apt -y upgrade
RUN --mount=type=cache,target=/var/lib/apt \
apt-get -y update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
python3 python3-pip lsb-release software-properties-common rename wget git \
ninja-build make gdb gdbserver pkg-config \
gperf linux-tools-generic linux-tools-common valgrind \
clang \
gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib\
cmake \
catch2 \
zsh
# Build Env
RUN apt-get -y install python3 python3-pip lsb-release software-properties-common rename wget git
RUN apt-get -y install ninja-build make gdb gdbserver pkg-config
RUN useradd -U \
developer
# Profiling
RUN apt-get -y install gperf linux-tools-generic linux-tools-common valgrind
# Clang
RUN apt-get -y install clang
# ARM Gcc
RUN apt-get -y install gcc-arm-none-eabi
# CMake
RUN apt-get -y install cmake
RUN apt-get clean
USER developer:developer

View File

@ -0,0 +1,6 @@
services:
stm32-dev:
build:
dockerfile: Dockerfile
tags:
- stm-32-dev