From 53ceb8ddee940796cb5c80b613c8636e08a952ca Mon Sep 17 00:00:00 2001 From: Wan Bachtiar Date: Mon, 12 Jul 2021 16:41:13 +1000 Subject: [PATCH] Updated to use MongoDB C++ driver v3.6.5 (MongoDB C driver v1.17.7) --- Dockerfile | 4 ++-- README.md | 4 ++-- get-started.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e3e9782..0fa289c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM alpine:3.13 LABEL org.opencontainers.image.source=https://github.com/mongodb-developer/get-started-cxx -ARG DRIVER_VERSION=3.6.2 -ARG DRIVER_C_VERSION=1.17.4 +ARG DRIVER_VERSION=3.6.5 +ARG DRIVER_C_VERSION=1.17.7 RUN apk add --no-cache wget cmake make git tar gcc g++ musl-dev openssl-dev perl RUN addgroup -S gsgroup && adduser -S gsuser -G gsgroup diff --git a/README.md b/README.md index dc09b25..b687924 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Repository to help getting started with MongoDB C++ driver connecting to MongoDB ## Information -This Get-Started project uses [MongoDB C++ driver](https://docs.mongodb.com/drivers/cxx) version 3.6.2 by default. Although you can change the driver version, the provided code example was only tested against the default version of MongoDB driver. There is no guarantee that the code sample will work for all possible versions of the driver. +This Get-Started project uses [MongoDB C++ driver](https://docs.mongodb.com/drivers/cxx) version 3.6.5 by default. Although you can change the driver version, the provided code example was only tested against the default version of MongoDB driver. There is no guarantee that the code sample will work for all possible versions of the driver. ## Pre-requisites @@ -29,7 +29,7 @@ Execute the helper shell script followed by the MongoDB URI that you would like The Docker image has been built with a specific version. If you would like to use a different version, you could build a new image. Example: ``` -docker build . -t start-cxx --build-arg DRIVER_VERSION=3.6.0 +docker build . -t start-cxx --build-arg DRIVER_VERSION=3.6.2 ``` This will build a docker image with a tag name `start-cxx`. diff --git a/get-started.sh b/get-started.sh index 6bdc48e..33c9d52 100755 --- a/get-started.sh +++ b/get-started.sh @@ -1,6 +1,6 @@ #!/bin/bash MONGODB_URI=${1} -DOCKER_IMAGE=ghcr.io/mongodb-developer/get-started-cxx +DOCKER_IMAGE=ghcr.io/mongodb-developer/get-started-cxx:latest if [ -z ${MONGODB_URI} ] then