Skip to content

Commit

Permalink
Updated to use MongoDB C++ driver v3.6.5 (MongoDB C driver v1.17.7)
Browse files Browse the repository at this point in the history
  • Loading branch information
sindbach committed Jul 12, 2021
1 parent 384fe2a commit 53ceb8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion get-started.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 53ceb8d

Please sign in to comment.