Skip to content

Commit f0e3bf5

Browse files
committed
Updated MongoDB to 8.0.21
1 parent 2b60540 commit f0e3bf5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

__tests__/db/mongodb-note-repository.integration.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('MongoDbNoteRepository Integration Tests', () => {
1111
beforeAll(async () => {
1212
console.log('Starting MongoDB container...');
1313
// Start MongoDB container
14-
container = await new GenericContainer('mongo:8.0.17-noble')
14+
container = await new GenericContainer('mongo:8.0.21-noble')
1515
.withExposedPorts(27017)
1616
.withEnvironment({
1717
MONGO_INITDB_ROOT_USERNAME: 'admin',

mongodb.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage for applying security updates
2-
FROM mongo:8.0.17-noble AS build
2+
FROM mongo:8.0.21-noble AS build
33

44
# Update and install security patches
55
# Clean up apt cache to reduce image size
@@ -16,8 +16,8 @@ FROM build AS production
1616

1717
# Add Dockerfile Labels
1818
LABEL title="MongoDB with Security Updates"
19-
LABEL description="MongoDB based on official mongo:8.0.17-noble image with all security patches applied"
20-
LABEL version="8.0.17"
19+
LABEL description="MongoDB based on official mongo:8.0.21-noble image with all security patches applied"
20+
LABEL version="8.0.21"
2121
LABEL maintainer="Vadim Starichkov <starichkovva@gmail.com>"
2222
LABEL license="MIT"
2323
LABEL source="https://github.com/starichkov/nodejs-simple-notes-app.git"

0 commit comments

Comments
 (0)