Merge pull request 'Pin Dockerfile Ubuntu version.' (#24) from halil/server:master into master

Reviewed-on: #24
This commit is contained in:
Exynox 2024-05-01 07:57:36 +03:00
commit 6616009e92
1 changed files with 2 additions and 2 deletions

View File

@ -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