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