Skip to content

Commit 4889788

Browse files
committed
build: update docker's python:3-alpine version.
also handle a keyword case issue reported by docker build.
1 parent 7e27914 commit 4889788

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/Docker/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ ARG source=local
2323

2424
# parameterize the sha256 sum to pin version of python:3-alpine
2525
# Must use the same version in both build stages.
26-
ARG SHA256=5365725a6cd59b72a927628fdda9965103e3dc671676c89ef3ed8b8b0e22e812
26+
ARG SHA256=ff870bf7c2bb546419aaea570f0a1c28c8103b78743a2b8030e9e97391ddf81b
27+
2728

2829
# Set to any non-empy value to enable shell debugging for troubleshooting
2930
ARG VERBOSE=
@@ -37,7 +38,7 @@ ARG appdir=/usr/src/app
3738
ARG pythonversion=3.12
3839

3940
#FROM python:3-alpine via SHA256 sum
40-
FROM python@sha256:$SHA256 as build
41+
FROM python@sha256:$SHA256 AS build
4142

4243
# Inherit global values https://github.com/moby/moby/issues/37345
4344
ARG appdir

0 commit comments

Comments
 (0)