27 lines
660 B
Docker
27 lines
660 B
Docker
# Docker container for building binaries for stm-32 microcontrollers with CLion IDE
|
|
|
|
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
|
|
|
|
# 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
|
|
|
|
# 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
|