-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
49 lines (41 loc) · 1.16 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# **********************************************************
# 2024 : Arthur JEULIN
# Copyright (c) Arthur JEULIN
# Created by Arthur JEULIN on 06/22/2024.
# **********************************************************
#
# Module : Create an environment do build the project
#
FROM mcr.microsoft.com/devcontainers/cpp:1-ubuntu-22.04
#FROM ubuntu:22.04
RUN echo "Building Environment"
RUN echo "Updating Ubuntu"
RUN apt-get update && apt-get upgrade -y
RUN echo "Installing dependencies..."
RUN apt install -y \
ccache \
cppcheck \
cmake \
curl \
doxygen \
gcc \
git \
graphviz \
make \
ninja-build \
python3 \
python3-pip \
tar \
unzip \
vim
RUN echo "Installing dependencies not found in the package repos..."
RUN apt install -y wget tar build-essential libssl-dev && \
wget https://github.com/Kitware/CMake/releases/download/v3.27.5/cmake-3.27.5.tar.gz && \
tar -zxvf cmake-3.27.5.tar.gz && \
cd cmake-3.27.5 && \
./bootstrap && \
make && \
make install
RUN git clone https://github.com/microsoft/vcpkg -b 2020.06 && \
cd vcpkg && \
./bootstrap-vcpkg.sh -disableMetrics -useSystemBinaries