Skip to content

Prepare Docker Hub release for version 3.8.1 #1038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions etc/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ version numbers as appropriate:
- MONGOC_VERSION
- MONGOCRYPT_VERSION

**Make sure you run `python3 generate.py` to generate the files for building the
images!**

Next, build the image. Prefer doing a no-cache-build with a clean docker cache.

> As of now, company policy only allows for redhat-ubi images, so only build and
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/TestDockerfile.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mongodb/mongo-cxx-driver:3.8.0-{{ distro }}
FROM mongodb/mongo-cxx-driver:{{ mongocxx_version }}-{{ distro }}

WORKDIR /build

Expand Down
6 changes: 3 additions & 3 deletions extras/docker/alpine3.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

FROM alpine:3.18 AS builder

ARG MONGOCXX_VERSION=3.8.0
ARG MONGOC_VERSION=1.24.2
ARG MONGOCRYPT_VERSION=1.8.1
ARG MONGOCXX_VERSION=3.8.1
ARG MONGOC_VERSION=1.24.4
ARG MONGOCRYPT_VERSION=1.8.2

WORKDIR /build

Expand Down
2 changes: 1 addition & 1 deletion extras/docker/alpine3.18/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DO NOT EDIT THIS FILE DIRECTLY
# This file was auto generated from the template file Makefile.j2 using the generate.py script

MONGOCXX_VERSION=3.8.0
MONGOCXX_VERSION=3.8.1
DOCKER=docker

.PHONY: build
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/alpine3.18/TestDockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DO NOT EDIT THIS FILE DIRECTLY
# This file was auto generated from the template file TestDockerfile.j2 using the generate.py script

FROM mongodb/mongo-cxx-driver:3.8.0-alpine3.18
FROM mongodb/mongo-cxx-driver:3.8.1-alpine3.18

WORKDIR /build

Expand Down
6 changes: 3 additions & 3 deletions extras/docker/bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

FROM debian:12-slim AS builder

ARG MONGOCXX_VERSION=3.8.0
ARG MONGOC_VERSION=1.24.2
ARG MONGOCRYPT_VERSION=1.8.1
ARG MONGOCXX_VERSION=3.8.1
ARG MONGOC_VERSION=1.24.4
ARG MONGOCRYPT_VERSION=1.8.2

WORKDIR /build

Expand Down
2 changes: 1 addition & 1 deletion extras/docker/bookworm/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DO NOT EDIT THIS FILE DIRECTLY
# This file was auto generated from the template file Makefile.j2 using the generate.py script

MONGOCXX_VERSION=3.8.0
MONGOCXX_VERSION=3.8.1
DOCKER=docker

.PHONY: build
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/bookworm/TestDockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DO NOT EDIT THIS FILE DIRECTLY
# This file was auto generated from the template file TestDockerfile.j2 using the generate.py script

FROM mongodb/mongo-cxx-driver:3.8.0-bookworm
FROM mongodb/mongo-cxx-driver:3.8.1-bookworm

WORKDIR /build

Expand Down
6 changes: 3 additions & 3 deletions extras/docker/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
from jinja2 import FileSystemLoader


MONGOCXX_VERSION = "3.8.0"
MONGOC_VERSION = "1.24.2"
MONGOCRYPT_VERSION = "1.8.1"
MONGOCXX_VERSION = "3.8.1"
MONGOC_VERSION = "1.24.4"
MONGOCRYPT_VERSION = "1.8.2"


def render_template(template_filename, context):
Expand Down
6 changes: 3 additions & 3 deletions extras/docker/jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

FROM ubuntu:22.04 AS builder

ARG MONGOCXX_VERSION=3.8.0
ARG MONGOC_VERSION=1.24.2
ARG MONGOCRYPT_VERSION=1.8.1
ARG MONGOCXX_VERSION=3.8.1
ARG MONGOC_VERSION=1.24.4
ARG MONGOCRYPT_VERSION=1.8.2

WORKDIR /build

Expand Down
2 changes: 1 addition & 1 deletion extras/docker/jammy/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DO NOT EDIT THIS FILE DIRECTLY
# This file was auto generated from the template file Makefile.j2 using the generate.py script

MONGOCXX_VERSION=3.8.0
MONGOCXX_VERSION=3.8.1
DOCKER=docker

.PHONY: build
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/jammy/TestDockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DO NOT EDIT THIS FILE DIRECTLY
# This file was auto generated from the template file TestDockerfile.j2 using the generate.py script

FROM mongodb/mongo-cxx-driver:3.8.0-jammy
FROM mongodb/mongo-cxx-driver:3.8.1-jammy

WORKDIR /build

Expand Down
6 changes: 3 additions & 3 deletions extras/docker/redhat-ubi-9.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

FROM registry.access.redhat.com/ubi9/ubi-minimal:9.2 AS builder

ARG MONGOCXX_VERSION=3.8.0
ARG MONGOC_VERSION=1.24.2
ARG MONGOCRYPT_VERSION=1.8.1
ARG MONGOCXX_VERSION=3.8.1
ARG MONGOC_VERSION=1.24.4
ARG MONGOCRYPT_VERSION=1.8.2

WORKDIR /build

Expand Down
2 changes: 1 addition & 1 deletion extras/docker/redhat-ubi-9.2/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DO NOT EDIT THIS FILE DIRECTLY
# This file was auto generated from the template file Makefile.j2 using the generate.py script

MONGOCXX_VERSION=3.8.0
MONGOCXX_VERSION=3.8.1
DOCKER=docker

.PHONY: build
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/redhat-ubi-9.2/TestDockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DO NOT EDIT THIS FILE DIRECTLY
# This file was auto generated from the template file TestDockerfile.j2 using the generate.py script

FROM mongodb/mongo-cxx-driver:3.8.0-redhat-ubi-9.2
FROM mongodb/mongo-cxx-driver:3.8.1-redhat-ubi-9.2

WORKDIR /build

Expand Down