Skip to content

Commit 3a38b17

Browse files
authored
pin docker base images, enable dependabot to update once a week (localstack#4950)
1 parent 62c495a commit 3a38b17

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "docker"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
ignore:
8+
- dependency-name: "python"
9+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
10+
schedule:
11+
interval: "weekly"
12+
day: "monday"
13+
time: "09:00"

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG IMAGE_TYPE=full
22

33
# java-builder: Stage to build a custom JRE (with jlink)
4-
FROM python:3.8-slim-buster as java-builder
4+
FROM python:3.8.12-slim-buster@sha256:d328c165606db4773f8242972ae82c2f7312478a5071090a768d0e9fc63fab51 as java-builder
55
ARG TARGETARCH
66

77
# install OpenJDK 11
@@ -32,7 +32,7 @@ jdk.localedata --include-locales en,th \
3232

3333

3434
# base: Stage which installs necessary runtime dependencies (OS packages, java, maven,...)
35-
FROM python:3.8-slim-buster as base
35+
FROM python:3.8.12-slim-buster@sha256:d328c165606db4773f8242972ae82c2f7312478a5071090a768d0e9fc63fab51 as base
3636
ARG TARGETARCH
3737

3838
# Install runtime OS package dependencies

0 commit comments

Comments
 (0)