Skip to content

Commit 75dfd6b

Browse files
chore(deps): pin dependencies
1 parent ee9a3e7 commit 75dfd6b

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

backend-go/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24 AS build
1+
FROM golang:1.24@sha256:39d9e7d9c5d9c9e4baf0d8fff579f06d5032c0f4425cdec9e86732e8e4e374dc AS build
22
WORKDIR /workspace/app
33
# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change
44
COPY go.mod go.sum ./
@@ -12,7 +12,7 @@ RUN mkdir -p /workspace/app/target/application
1212
RUN CGO_ENABLED=0 GOOS=linux go build -v -o /workspace/app/target/application ./...
1313
HEALTHCHECK --interval=3000s --timeout=30s CMD go version || exit 1
1414

15-
FROM alpine:3.21
15+
FROM alpine:3.21@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c
1616
ARG DEPENDENCY=/workspace/app/target/application
1717
RUN apk add --no-cache bash
1818
RUN addgroup -S appgroup && adduser -S 1001 -G appgroup

backend-go/db/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM flyway/flyway:11-alpine
1+
FROM flyway/flyway:11-alpine@sha256:e5c941be8cda7f641cdd80f267bc45297fb6d04ea9275f60d408cd4ba4f52354
22

33
# Non-root user
44
RUN adduser -D app

backend-java/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY --chown=quarkus:quarkus . ./
99
RUN ./mvnw package -Pnative -DskipTests
1010

1111
# "A base image to run Quarkus native application using UBI Micro"
12-
FROM quay.io/quarkus/quarkus-micro-image:2.0
12+
FROM quay.io/quarkus/quarkus-micro-image:2.0@sha256:8439095bcd7a0ead18db87d2fc17bdc9b9a62df07ddeb65590b09f92d79bcadb
1313

1414
# Port and health check
1515
EXPOSE 3000

backend-py/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.13.3 AS build
1+
FROM python:3.13.3@sha256:3abe339a3bc81ffabcecf9393445594124de6420b3cfddf248c52b1115218f04 AS build
22

33
# Disable cache dir, disable upgrade message, create .venv in project dir
44
ARG PIP_NO_CACHE_DIR=off \
@@ -12,7 +12,7 @@ RUN pip install poetry==1.6.1
1212
RUN poetry install --no-root -vvv --without dev --sync
1313

1414
# Deploy
15-
FROM python:3.13.3-slim AS deploy
15+
FROM python:3.13.3-slim@sha256:914bf5c12ea40a97a78b2bff97fbdb766cc36ec903bfb4358faf2b74d73b555b AS deploy
1616

1717
# Output to stdout/stderr, don't create .pyc files, etc.
1818
ENV PYTHONUNBUFFERED=1 \

backend-py/db/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM flyway/flyway:11-alpine
1+
FROM flyway/flyway:11-alpine@sha256:e5c941be8cda7f641cdd80f267bc45297fb6d04ea9275f60d408cd4ba4f52354
22
# Non-root user
33
RUN adduser -D app
44
USER app

charts/app/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ bitnami-pg:
115115
image:
116116
registry: ghcr.io
117117
repository: bcgov/nr-containers/bitnami/postgresql
118-
tag: 15.10.0
118+
tag: 15.10.0@sha256:708df150b32fddb3d4b8afb8ba2377b667beac2679b3a30ee855b4d2181f87d2
119119
auth:
120120
existingSecret: '{{ .Release.Name }}'
121121
username: 'quickstart'

docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ x-python-vars: &python-vars
3737

3838
services:
3939
database:
40-
image: postgres:15
40+
image: postgres:15@sha256:b8e11f8a8b383e19589a086a78b10f9ca69a39d6c9dcdd9342a8697544e8b3a0
4141
container_name: database
4242
environment:
4343
<<: *postgres-vars
@@ -47,7 +47,7 @@ services:
4747

4848
migrations-go:
4949
profiles: ["go", "all"]
50-
image: flyway/flyway:9-alpine
50+
image: flyway/flyway:9-alpine@sha256:966538712a19b0f79ac24344d1373c8cc5e405427ec4b93a6d9e827c821bba8f
5151
container_name: migrations-go
5252
command: info migrate info
5353
volumes: ["./backend-go/db/migrations:/flyway/sql:ro"]
@@ -60,7 +60,7 @@ services:
6060

6161
migrations-py:
6262
profiles: ["python", "all"]
63-
image: flyway/flyway:9-alpine
63+
image: flyway/flyway:9-alpine@sha256:966538712a19b0f79ac24344d1373c8cc5e405427ec4b93a6d9e827c821bba8f
6464
container_name: migrations-py
6565
command: info migrate info
6666
volumes: ["./backend-py/db/migrations:/flyway/sql:ro"]
@@ -89,7 +89,7 @@ services:
8989

9090
backend-py-model-generator:
9191
profiles: ["python", "all"]
92-
image: python:3.11-slim-buster # DO NOT change, as it breaks the module.
92+
image: python:3.11-slim-buster@sha256:c46b0ae5728c2247b99903098ade3176a58e274d9c7d2efeaaab3e0621a53935 # DO NOT change, as it breaks the module.
9393
container_name: backend-py-model-generator
9494
environment:
9595
<<: *postgres-vars
@@ -103,7 +103,7 @@ services:
103103

104104
backend-py:
105105
profiles: ["python", "all"]
106-
image: python:3.13
106+
image: python:3.13@sha256:3abe339a3bc81ffabcecf9393445594124de6420b3cfddf248c52b1115218f04
107107
container_name: backend-py
108108
entrypoint: /application/start-local.sh
109109
volumes: ["./backend-py:/application", "/application/.venv"]
@@ -119,7 +119,7 @@ services:
119119

120120
backend-py-test:
121121
profiles: ["python", "all"]
122-
image: python:3.13
122+
image: python:3.13@sha256:3abe339a3bc81ffabcecf9393445594124de6420b3cfddf248c52b1115218f04
123123
container_name: backend-py-test
124124
entrypoint: /application/run-unit-tests.sh
125125
volumes: ["./backend-py:/application", "/application/.venv"]

0 commit comments

Comments
 (0)