Mercurial > p > roundup > code
comparison scripts/Docker/Dockerfile @ 8184:53dba022d4cd
chore: update to python 3.13. Also use index file shasum.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 08 Dec 2024 21:36:29 -0500 |
| parents | 0a6ca45c53b4 |
| children | 63a016f4b562 |
comparison
equal
deleted
inserted
replaced
| 8183:8c17d0def3f3 | 8184:53dba022d4cd |
|---|---|
| 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=06ec926ba48a761e10e429c9091000863f7b91ef42296d10303c5da6c01e25ad | 26 ARG SHA256=8287ca207e905649e9f399b5f91a119e5e9051d8cd110d5f8c3b4bd9458ebd1d |
| 27 | 27 |
| 28 | 28 |
| 29 # 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 |
| 30 ARG VERBOSE= | 30 ARG VERBOSE= |
| 31 | 31 |
| 33 ARG appdir=/usr/src/app | 33 ARG appdir=/usr/src/app |
| 34 | 34 |
| 35 # Python version as a.b Used as path component for | 35 # Python version as a.b Used as path component for |
| 36 # installation directory and COPY from install dir | 36 # installation directory and COPY from install dir |
| 37 # in second build stage. | 37 # in second build stage. |
| 38 ARG pythonversion=3.12 | 38 ARG pythonversion=3.13 |
| 39 | 39 |
| 40 #FROM python:3-alpine via SHA256 sum | 40 #FROM python:3-alpine via SHA256 sum |
| 41 FROM python@sha256:$SHA256 AS build | 41 FROM python@sha256:$SHA256 AS build |
| 42 | 42 |
| 43 # Inherit global values https://github.com/moby/moby/issues/37345 | 43 # Inherit global values https://github.com/moby/moby/issues/37345 |
