Skip to content

Build the image for the mongodb/mongo-cxx-driver repo #1029

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
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
6 changes: 3 additions & 3 deletions extras/docker/Makefile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ DOCKER=docker
.PHONY: build
build:
$(DOCKER) build . \
-t mongo-cxx-driver:$(MONGOCXX_VERSION)-{{ distro }}
-t mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-{{ distro }}

.PHONY: nocachebuild
nocachebuild:
$(DOCKER) build . \
--no-cache \
-t mongo-cxx-driver:$(MONGOCXX_VERSION)-{{ distro }}
-t mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-{{ distro }}

.PHONY: run
run: | $(filter nocachebuild build, $(MAKECMDGOALS))
$(DOCKER) run --rm -it mongo-cxx-driver:$(MONGOCXX_VERSION)-{{ distro }}
$(DOCKER) run --rm -it mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-{{ distro }}

.PHONY: test
test: | $(filter nocachebuild build, $(MAKECMDGOALS))
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 mongo-cxx-driver:3.8.0-{{ distro }}
FROM mongodb/mongo-cxx-driver:3.8.0-{{ distro }}

WORKDIR /build

Expand Down
6 changes: 3 additions & 3 deletions extras/docker/alpine3.18/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ DOCKER=docker
.PHONY: build
build:
$(DOCKER) build . \
-t mongo-cxx-driver:$(MONGOCXX_VERSION)-alpine3.18
-t mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-alpine3.18

.PHONY: nocachebuild
nocachebuild:
$(DOCKER) build . \
--no-cache \
-t mongo-cxx-driver:$(MONGOCXX_VERSION)-alpine3.18
-t mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-alpine3.18

.PHONY: run
run: | $(filter nocachebuild build, $(MAKECMDGOALS))
$(DOCKER) run --rm -it mongo-cxx-driver:$(MONGOCXX_VERSION)-alpine3.18
$(DOCKER) run --rm -it mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-alpine3.18

.PHONY: test
test: | $(filter nocachebuild build, $(MAKECMDGOALS))
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 mongo-cxx-driver:3.8.0-alpine3.18
FROM mongodb/mongo-cxx-driver:3.8.0-alpine3.18

WORKDIR /build

Expand Down
6 changes: 3 additions & 3 deletions extras/docker/bookworm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ DOCKER=docker
.PHONY: build
build:
$(DOCKER) build . \
-t mongo-cxx-driver:$(MONGOCXX_VERSION)-bookworm
-t mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-bookworm

.PHONY: nocachebuild
nocachebuild:
$(DOCKER) build . \
--no-cache \
-t mongo-cxx-driver:$(MONGOCXX_VERSION)-bookworm
-t mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-bookworm

.PHONY: run
run: | $(filter nocachebuild build, $(MAKECMDGOALS))
$(DOCKER) run --rm -it mongo-cxx-driver:$(MONGOCXX_VERSION)-bookworm
$(DOCKER) run --rm -it mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-bookworm

.PHONY: test
test: | $(filter nocachebuild build, $(MAKECMDGOALS))
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 mongo-cxx-driver:3.8.0-bookworm
FROM mongodb/mongo-cxx-driver:3.8.0-bookworm

WORKDIR /build

Expand Down
6 changes: 3 additions & 3 deletions extras/docker/jammy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ DOCKER=docker
.PHONY: build
build:
$(DOCKER) build . \
-t mongo-cxx-driver:$(MONGOCXX_VERSION)-jammy
-t mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-jammy

.PHONY: nocachebuild
nocachebuild:
$(DOCKER) build . \
--no-cache \
-t mongo-cxx-driver:$(MONGOCXX_VERSION)-jammy
-t mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-jammy

.PHONY: run
run: | $(filter nocachebuild build, $(MAKECMDGOALS))
$(DOCKER) run --rm -it mongo-cxx-driver:$(MONGOCXX_VERSION)-jammy
$(DOCKER) run --rm -it mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-jammy

.PHONY: test
test: | $(filter nocachebuild build, $(MAKECMDGOALS))
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 mongo-cxx-driver:3.8.0-jammy
FROM mongodb/mongo-cxx-driver:3.8.0-jammy

WORKDIR /build

Expand Down
6 changes: 3 additions & 3 deletions extras/docker/redhat-ubi-9.2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ DOCKER=docker
.PHONY: build
build:
$(DOCKER) build . \
-t mongo-cxx-driver:$(MONGOCXX_VERSION)-redhat-ubi-9.2
-t mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-redhat-ubi-9.2

.PHONY: nocachebuild
nocachebuild:
$(DOCKER) build . \
--no-cache \
-t mongo-cxx-driver:$(MONGOCXX_VERSION)-redhat-ubi-9.2
-t mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-redhat-ubi-9.2

.PHONY: run
run: | $(filter nocachebuild build, $(MAKECMDGOALS))
$(DOCKER) run --rm -it mongo-cxx-driver:$(MONGOCXX_VERSION)-redhat-ubi-9.2
$(DOCKER) run --rm -it mongodb/mongo-cxx-driver:$(MONGOCXX_VERSION)-redhat-ubi-9.2

.PHONY: test
test: | $(filter nocachebuild build, $(MAKECMDGOALS))
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 mongo-cxx-driver:3.8.0-redhat-ubi-9.2
FROM mongodb/mongo-cxx-driver:3.8.0-redhat-ubi-9.2

WORKDIR /build

Expand Down