mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-03 07:30:53 +02:00
Docker and devcontainer files for development in an ubuntu container
This commit is contained in:
parent
12cf5de1a8
commit
48bb57b6a5
3 changed files with 53 additions and 0 deletions
30
Dockerfile
Normal file
30
Dockerfile
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Use official Ubuntu image
|
||||
FROM ubuntu:22.04
|
||||
|
||||
# Install dependencies
|
||||
RUN apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
build-essential \
|
||||
cmake \
|
||||
ninja-build \
|
||||
git \
|
||||
curl \
|
||||
gdb \
|
||||
lldb \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-jinja2 \
|
||||
clang \
|
||||
clang-tidy \
|
||||
lcov \
|
||||
doxygen \
|
||||
meson \
|
||||
libpsl-dev \
|
||||
sudo \
|
||||
pkg-config \
|
||||
&& apt-get clean
|
||||
|
||||
RUN pip3 install clang-format==14.0.6 cmake_format==0.6.11 pyyaml
|
||||
|
||||
# Load shell.
|
||||
CMD ["/bin/bash"]
|
Loading…
Add table
Add a link
Reference in a new issue