From 1ada6090203e71e182c30fa2068398fa6eafe0e8 Mon Sep 17 00:00:00 2001 From: halil Date: Wed, 1 May 2024 01:10:02 +0300 Subject: [PATCH] Pin Dockerfile Ubuntu version. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a95430..95f18f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest as build +FROM ubuntu:22.04 as build WORKDIR /app # Update the system and install various dependencies @@ -21,7 +21,7 @@ RUN mkdir build/ RUN cd build && cmake -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake .. RUN cd build && make -j $(nproc) -FROM ubuntu:latest as app +FROM ubuntu:22.04 as app WORKDIR /app RUN apt-get update && apt-get install -y python2 libdevil-dev libbsd-dev && apt-get clean