comparison scripts/Docker/Dockerfile @ 8049:40705dc8e85a

build: update docker's python:3-alpine version. also handle a keyword case issue reported by docker build.
author John Rouillard <rouilj@ieee.org>
date Sat, 29 Jun 2024 22:41:25 -0400
parents 301b0988a351
children 4f07d7835019
comparison
equal deleted inserted replaced
8048:3ddc6a7d41de 8049:40705dc8e85a
21 21
22 # Internal settings that are for advanced users to override. 22 # Internal settings that are for advanced users to override.
23 23
24 # parameterize the sha256 sum to pin version of python:3-alpine 24 # parameterize the sha256 sum to pin version of python:3-alpine
25 # Must use the same version in both build stages. 25 # Must use the same version in both build stages.
26 ARG SHA256=5365725a6cd59b72a927628fdda9965103e3dc671676c89ef3ed8b8b0e22e812 26 ARG SHA256=ff870bf7c2bb546419aaea570f0a1c28c8103b78743a2b8030e9e97391ddf81b
27
27 28
28 # Set to any non-empy value to enable shell debugging for troubleshooting 29 # Set to any non-empy value to enable shell debugging for troubleshooting
29 ARG VERBOSE= 30 ARG VERBOSE=
30 31
31 # application directory 32 # application directory
35 # installation directory and COPY from install dir 36 # installation directory and COPY from install dir
36 # in second build stage. 37 # in second build stage.
37 ARG pythonversion=3.12 38 ARG pythonversion=3.12
38 39
39 #FROM python:3-alpine via SHA256 sum 40 #FROM python:3-alpine via SHA256 sum
40 FROM python@sha256:$SHA256 as build 41 FROM python@sha256:$SHA256 AS build
41 42
42 # Inherit global values https://github.com/moby/moby/issues/37345 43 # Inherit global values https://github.com/moby/moby/issues/37345
43 ARG appdir 44 ARG appdir
44 45
45 WORKDIR $appdir 46 WORKDIR $appdir

Roundup Issue Tracker: http://roundup-tracker.org/