Skip to content

Commit

Permalink
dockerfile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
arieldk1212 committed Dec 3, 2024
1 parent 94bf743 commit dac2f10
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
FROM ubuntu:22.04

RUN apt-get update && \
apt-get upgrade && \
apt-get install \
python3 \
curl \
zip \
unzip \
tar \
git \
bash \
g++ \
libstdc++ \
libc-dev
RUN apt update -y; \
apt upgrade -y; \
apt install -y \
build-essential \
gcc \
python3 \
zip \
curl \
unzip \
tar \
g++ \
git \
perl \
bash \
&& apt clean -y

ARG CMAKE_VERSION=3.24.2
RUN curl -L https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz | tar --strip-components=1 -xz -C /usr/local
RUN apt install -y wget; \
wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.sh -O cmake.sh; \
sh cmake.sh --prefix=/usr/local/ --exclude-subdir; \
rm -rf cmake.sh;

WORKDIR /usr/local
RUN git clone https://github.com/microsoft/vcpkg.git && \
Expand Down

0 comments on commit dac2f10

Please sign in to comment.