You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Germandrummer92 (via GitHub)" <gi...@apache.org> on 2023/01/21 20:48:51 UTC
[GitHub] [superset] Germandrummer92 commented on a diff in pull request #22770: feat(docker): Build multiple python version images
Germandrummer92 commented on code in PR #22770:
URL: https://github.com/apache/superset/pull/22770#discussion_r1083334047
##########
.github/workflows/docker_build_push.sh:
##########
@@ -50,12 +50,39 @@ docker build --target lean \
-t "${REPO_NAME}:${SHA}" \
-t "${REPO_NAME}:${REFSPEC}" \
-t "${REPO_NAME}:${LATEST_TAG}" \
+ --build-arg PY_VER="3.8.16"\
--label "sha=${SHA}" \
--label "built_at=$(date)" \
--label "target=lean" \
--label "build_actor=${GITHUB_ACTOR}" \
.
+# Build the "lean39" image
+docker build --target lean \
+ -t "${REPO_NAME}:${SHA}-py39" \
+ -t "${REPO_NAME}:${REFSPEC}-py39" \
+ -t "${REPO_NAME}:${LATEST_TAG}-py39" \
+ --build-arg PY_VER="3.9.16"\
+ --label "sha=${SHA}" \
+ --label "built_at=$(date)" \
+ --label "target=lean39" \
+ --label "build_actor=${GITHUB_ACTOR}" \
+ .
+
+
+# Build the "lean310" image
+docker build --target lean \
Review Comment:
removed 3.10
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org