Skip to content

Commit

Permalink
Get caught up on MongoDB updates
Browse files Browse the repository at this point in the history
  • Loading branch information
opsnlops committed Aug 17, 2024
1 parent 1538113 commit af6099d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit af6099d

Please sign in to comment.