Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit db4ac2c

Browse files
committed
Upgraded to v3.12
1 parent a2d6003 commit db4ac2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM ubuntu:18.04
22

3-
ARG DRIVER_VERSION=3.11.1
3+
ARG DRIVER_VERSION=3.12.0
44
ARG MONGODB_URI
55

66
RUN apt-get update && apt-get install -y \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Repository to help getting started with MongoDB Java driver connecting to MongoD
44

55
## Information
66

7-
This Get-Started project uses [MongoDB Java driver](https://mongodb.github.io/mongo-java-driver/) version 3.11.1 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.
7+
This Get-Started project uses [MongoDB Java driver](https://mongodb.github.io/mongo-java-driver/) version 3.12.0 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.
88

99
## Pre-requisites
1010

@@ -25,7 +25,7 @@ In order to execute the code example, you need to specify `MONGODB_URI` environm
2525
```
2626
* To use a different driver version and specify `MONGODB_URI`. For example:
2727
```
28-
docker build . -t start-java --build-arg DRIVER_VERSION=3.10.2 --build-arg MONGODB_URI="mongodb+srv://usr:pwd@example.mongodb.net/dbname?retryWrites=true"
28+
docker build . -t start-java --build-arg DRIVER_VERSION=3.11.2 --build-arg MONGODB_URI="mongodb+srv://usr:pwd@example.mongodb.net/dbname?retryWrites=true"
2929
```
3030
This will build a docker image with a tag name `start-java`.
3131
As a result of the build, the example code is compiled for the specified driver version and ready to be executed.

0 commit comments

Comments
 (0)