Skip to content

Commit 2234ccd

Browse files
Pin dependencies
1 parent 89dc1be commit 2234ccd

8 files changed

Lines changed: 11 additions & 11 deletions

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/node:26-alpine AS web
1+
FROM public.ecr.aws/docker/library/node:26-alpine@sha256:e3bc686ea3f5bceaf696ca928c0aa067c3a28806fbfa81faccb877bf81756313 AS web
22

33
WORKDIR /app
44
COPY web/package.json web/pnpm-lock.yaml web/pnpm-workspace.yaml ./
@@ -7,7 +7,7 @@ RUN pnpm install --ignore-scripts --frozen-lockfile
77
COPY web/ .
88
RUN pnpm build
99

10-
FROM public.ecr.aws/docker/library/rust:1 AS chef
10+
FROM public.ecr.aws/docker/library/rust:1@sha256:1f0dbad1df66647807e6952d1db85d0b2bda7606cb2139d82517e4f009967376 AS chef
1111

1212
WORKDIR /build
1313

@@ -46,7 +46,7 @@ COPY migrations migrations
4646
RUN cargo install --locked --bin defguard --path ./crates/defguard --root /build
4747

4848
# run
49-
FROM public.ecr.aws/docker/library/debian:13-slim
49+
FROM public.ecr.aws/docker/library/debian:13-slim@sha256:28de0877c2189802884ccd20f15ee41c203573bd87bb6b883f5f46362d24c5c2
5050
# TEMPORARY FIX: The parent image has a snapshot of debian sources that has a security vulnerability. This is a temporary fix until the parent image is updated.
5151
# Remove this once the parent image is updated with the latest debian sources.
5252
RUN sed -i \

Dockerfile.device

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3
1+
FROM alpine:3@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b
22

33
RUN apk add wireguard-tools && echo wireguard >> /etc/modules
44
RUN printf "[Interface]\n\

Dockerfile.ldap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM osixia/openldap:1.5.0 as runtime
1+
FROM osixia/openldap:1.5.0@sha256:18742e9c449c9c1afe129d3f2f3ee15fb34cc43e5f940a20f3399728f41d7c28 as runtime
22
# load ldifs
33
COPY ./ldif /container/service/slapd/assets/config/bootstrap/ldif/custom

docker-compose.e2e-auto-adoption.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
- db
2222

2323
db:
24-
image: public.ecr.aws/docker/library/postgres:11-alpine
24+
image: public.ecr.aws/docker/library/postgres:11-alpine@sha256:ea50b9fd617b66c9135816a4536cf6e0697d4eea7014a7194479c95f6edd5ef9
2525
environment:
2626
POSTGRES_DB: defguard
2727
POSTGRES_USER: defguard

docker-compose.e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
- db
2222

2323
db:
24-
image: public.ecr.aws/docker/library/postgres:11-alpine
24+
image: public.ecr.aws/docker/library/postgres:11-alpine@sha256:ea50b9fd617b66c9135816a4536cf6e0697d4eea7014a7194479c95f6edd5ef9
2525
environment:
2626
POSTGRES_DB: defguard
2727
POSTGRES_USER: defguard

docker-compose.ldap-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Used by `just test-ldap` (locally) and the test-ldap CI job.
55
services:
66
db:
7-
image: public.ecr.aws/docker/library/postgres:17-alpine
7+
image: public.ecr.aws/docker/library/postgres:17-alpine@sha256:742f40ea20b9ff2ff31db5458d127452988a2164df9e17441e191f3b72252193
88
environment:
99
POSTGRES_DB: defguard
1010
POSTGRES_USER: defguard

docker-compose.ldap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ services:
3232
- NET_ADMIN
3333

3434
db:
35-
image: postgres:17-alpine
35+
image: postgres:17-alpine@sha256:742f40ea20b9ff2ff31db5458d127452988a2164df9e17441e191f3b72252193
3636
environment:
3737
POSTGRES_DB: defguard
3838
POSTGRES_USER: defguard
@@ -66,7 +66,7 @@ services:
6666
# - ./configs/logstash.conf:/usr/share/logstash/pipeline/logstash.conf:ro
6767

6868
openldap:
69-
image: bitnamilegacy/openldap:2.6
69+
image: bitnamilegacy/openldap:2.6@sha256:687f14a22b5c74fb057a57221acdbe7b8c82e2d3619fc380db3af48ec4aa04ed
7070
user: root
7171
restart: unless-stopped
7272
environment:

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ services:
4141
RUST_BACKTRACE: 1
4242

4343
db:
44-
image: postgres:17-alpine
44+
image: postgres:17-alpine@sha256:742f40ea20b9ff2ff31db5458d127452988a2164df9e17441e191f3b72252193
4545
environment:
4646
POSTGRES_DB: defguard
4747
POSTGRES_USER: defguard

0 commit comments

Comments
 (0)