We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dc4e93 commit 5934fd3Copy full SHA for 5934fd3
k8/Makefile
@@ -1,5 +1,7 @@
1
all: images
2
3
+PYTHON_PACKAGE_VERSION := 1.1.3
4
+
5
BASE_BUILD_TAG := 1.1.3
6
BASE_USE_TAG := 1.1.3
7
@@ -73,6 +75,9 @@ define JQ_DOCKER_BAKE
73
75
base: {
74
76
context: "images/base",
77
dockerfile: "Dockerfile",
78
+ args: {
79
+ PYTHON_PACKAGE_VERSION: "${PYTHON_PACKAGE_VERSION}"
80
+ },
81
tags: [
82
"${IMAGE}:base-${BASE_BUILD_TAG}"
83
]
k8/images/base/Dockerfile
@@ -1,6 +1,8 @@
# syntax = docker/dockerfile:1.1.7-experimental
FROM python:3.8.4
+ARG PYTHON_PACKAGE_VERSION
RUN --mount=type=cache,target=/root/.cache/pip \
- pip install record_api==1.1.3
+ pip install record_api==${PYTHON_PACKAGE_VERSION}
8
0 commit comments