Standardize Alpine base image format and version across all Dockerfiles

- Update all Dockerfiles to use `alpine:3.21.0` with SHA256 checksum
- Ensure consistent image versioning, enhanced security, and
  reproducibility by explicitly specifying the digest.

cc #2436 #2516
This commit is contained in:
Peter Dave Hello
2024-12-22 18:10:49 +08:00
parent 988a877199
commit b0881cdb4c
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ RUN DOCKER_ENABLE_SECURITY=true \
./gradlew clean build
# Main stage
FROM alpine:3.20.3
FROM alpine:3.21.0@sha256:21dc6063fd678b478f57c0e13f47560d0ea4eeba26dfc947b2a4f81f686b9f45
# Copy necessary files
COPY scripts /scripts