Skip to content
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
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
# syntax=docker/dockerfile:1.3
ARG REQUIREMENTS_IMAGE
ARG BERGLAS_VERSION=v2.0.15
ARG BERGLAS_VERSION=v2.0.18
ARG GO_IMAGE=golang:1.27.3-bookworm

# Build berglas from source: the prebuilt image lags on Go stdlib and
# module pins (x/crypto, grpc), which carry critical/high CVEs in AR scans.
# Build berglas from source: the prebuilt image lags on the Go stdlib, which
# carries critical/high CVEs in AR scans.
FROM ${GO_IMAGE} as berglas
ARG BERGLAS_VERSION
RUN git clone --depth 1 --branch ${BERGLAS_VERSION} \
https://github.com/GoogleCloudPlatform/berglas.git /src
WORKDIR /src
RUN go get google.golang.org/grpc@v1.82.1 \
golang.org/x/crypto@v0.54.0 \
golang.org/x/net@v0.57.0 && go mod tidy
RUN CGO_ENABLED=0 go build -trimpath -o /bin/berglas .

FROM $REQUIREMENTS_IMAGE
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django>=5.1,<5.2
Django>=5.2,<5.3
asgiref
django-csp>=3.8,<4
djangorestframework
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ certifi==2026.10.23
# sentry-sdk
charset-normalizer==3.4.9
# via requests
django==5.1.15
django==5.2.18
# via
# -r requirements.in
# django-csp
# djangorestframework
django-csp==3.8
# via -r requirements.in
djangorestframework==3.17.1
djangorestframework==3.18.3
# via -r requirements.in
gunicorn==26.0.0
# via -r requirements.in
Expand All @@ -52,7 +52,7 @@ psycopg2-binary==2.9.12
# via -r requirements.in
pygments==2.20.0
# via pytest
pyjwt==2.13.0
pyjwt==2.15.1
# via -r requirements.in
pytest==9.1.1
# via pytest-django
Expand All @@ -68,13 +68,13 @@ slack-sdk==3.43.0
# via
# -r requirements.in
# slack-bolt
sqlparse==0.5.5
sqlparse==0.6.1
# via
# -r requirements.in
# django
typing-extensions==4.16.0
# via anyio
urllib3==2.7.0
urllib3==2.8.0
# via
# -r requirements.in
# requests
Expand Down
Loading