Update development container
This commit is contained in:
parent
674dbb96c2
commit
f03dedf91c
@ -4,23 +4,20 @@ FROM ubuntu:22.04
|
|||||||
ENV TZ=Europe/Berlin
|
ENV TZ=Europe/Berlin
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
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 useradd -U \
|
||||||
RUN apt-get -y install python3 python3-pip lsb-release software-properties-common rename wget git
|
developer
|
||||||
RUN apt-get -y install ninja-build make gdb gdbserver pkg-config
|
|
||||||
|
|
||||||
# Profiling
|
USER developer:developer
|
||||||
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
|
|
6
build-tools/docker-compose.yml
Normal file
6
build-tools/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
services:
|
||||||
|
stm32-dev:
|
||||||
|
build:
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
tags:
|
||||||
|
- stm-32-dev
|
Loading…
x
Reference in New Issue
Block a user