diff --git a/CMakeLists.txt b/CMakeLists.txt index f96fc12..b42b4e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.25) project(creature-server - VERSION "2.2.2" + VERSION "2.2.3" DESCRIPTION "Server for April's Creatures" HOMEPAGE_URL https://github.com/opsnlops/creature-server LANGUAGES C CXX) diff --git a/Dockerfile b/Dockerfile index 6818bad..968ec95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,11 +11,11 @@ RUN apt install -y cmake libssl-dev libsasl2-dev gcc git file \ # Install the latest Mongo driver RUN mkdir -p /build/mongo -ADD https://github.com/mongodb/mongo-c-driver/archive/refs/tags/1.26.2.tar.gz /build/mongo/c-driver.tar.gz -ADD https://github.com/mongodb/mongo-cxx-driver/releases/download/r3.10.1/mongo-cxx-driver-r3.10.1.tar.gz /build/mongo/cxx-driver.tar.gz +ADD https://github.com/mongodb/mongo-c-driver/archive/refs/tags/1.27.5.tar.gz /build/mongo/c-driver.tar.gz +ADD https://github.com/mongodb/mongo-cxx-driver/releases/download/r3.10.2/mongo-cxx-driver-r3.10.2.tar.gz /build/mongo/cxx-driver.tar.gz RUN cd /build/mongo && tar -xzvf c-driver.tar.gz && tar -xzvf cxx-driver.tar.gz -RUN cd /build/mongo/mongo-c-driver-1.26.2/build && \ +RUN cd /build/mongo/mongo-c-driver-1.27.5/build && \ cmake -DENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr/local \ @@ -24,7 +24,7 @@ RUN cd /build/mongo/mongo-c-driver-1.26.2/build && \ ninja && \ ninja install -RUN cd /build/mongo/mongo-cxx-driver-r3.10.1/build && \ +RUN cd /build/mongo/mongo-cxx-driver-r3.10.2/build && \ cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DBUILD_SHARED_AND_STATIC_LIBS=ON \