mirror of
https://github.com/apache/superset.git
synced 2026-04-14 05:34:38 +00:00
build: Mutli-stage build and slim image for websocket container (#21954)
This commit is contained in:
13
.github/workflows/docker_build_push.sh
vendored
13
.github/workflows/docker_build_push.sh
vendored
@@ -56,6 +56,19 @@ docker build --target lean \
|
||||
--label "build_actor=${GITHUB_ACTOR}" \
|
||||
.
|
||||
|
||||
#
|
||||
# Build the "websocket" image
|
||||
#
|
||||
docker build \
|
||||
-t "${REPO_NAME}-websocket:${SHA}" \
|
||||
-t "${REPO_NAME}-websocket:${REFSPEC}" \
|
||||
-t "${REPO_NAME}-websocket:${LATEST_TAG}" \
|
||||
--label "sha=${SHA}" \
|
||||
--label "built_at=$(date)" \
|
||||
--label "target=lean" \
|
||||
--label "build_actor=${GITHUB_ACTOR}" \
|
||||
superset-websocket
|
||||
|
||||
#
|
||||
# Build the dev image
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user