-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (22 loc) · 958 Bytes
/
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
FROM ubuntu:jammy
RUN cd /tmp \
&& apt update \
&& apt install -y curl git vim g++ build-essential doxygen graphviz zip unzip tini \
&& apt clean \
&& curl -o /usr/local/share/ca-certificates/customcert.crt http://pki.jlab.org/JLabCA.crt \
&& update-ca-certificates \
&& curl -O https://raw.githubusercontent.com/devcontainers/features/main/src/docker-outside-of-docker/install.sh \
&& chmod +x /tmp/install.sh \
&& /tmp/install.sh \
&& curl -LO https://github.com/Kitware/CMake/releases/download/v3.29.2/cmake-3.29.2-linux-x86_64.tar.gz \
&& tar -xvzf cmake-3.29.2-linux-x86_64.tar.gz -C /opt \
&& cd /opt \
&& git clone https://github.com/microsoft/vcpkg.git \
&& cd vcpkg \
&& ./bootstrap-vcpkg.sh
ENV VCPKG_ROOT=/opt/vcpkg
ENV CMAKE_ROOT=/opt/cmake-3.29.2-linux-x86_64
ENV PATH=$PATH:$VCPKG_ROOT:$CMAKE_ROOT/bin
ENV TZ=America/New_York
ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["sleep", "infinity"]