Skip to content

Commit

Permalink
rebase and update new lean39 image
Browse files Browse the repository at this point in the history
  • Loading branch information
eschutho committed Oct 3, 2023
1 parent c4ec9c1 commit d98ea78
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/docker_build_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ fi

if [[ "${TEST_ENV}" == "true" ]]; then
# don't run the build in test environment
echo "LATEST_TAG is ${LATEST_TAG}"
exit 0
fi

Expand Down Expand Up @@ -132,17 +133,22 @@ docker buildx build --target lean \
#
# Build the "lean39" image
#
DOCKER_BUILDKIT=1 docker build --target lean \
docker buildx build --target lean \
$DOCKER_ARGS \
--cache-from=type=local,src=/tmp/superset \
--cache-to=type=local,ignore-error=true,dest=/tmp/superset \
-t "${REPO_NAME}:${SHA}-py39" \
-t "${REPO_NAME}:${REFSPEC}-py39" \
-t "${REPO_NAME}:${LATEST_TAG}-py39" \
--platform linux/amd64 \
--build-arg PY_VER="3.9-slim-bullseye"\
--label "sha=${SHA}" \
--label "built_at=$(date)" \
--label "target=lean39" \
--label "build_actor=${GITHUB_ACTOR}" \
.


for BUILD_PLATFORM in $ARCHITECTURE_FOR_BUILD; do
#
# Build the "websocket" image
Expand Down

0 comments on commit d98ea78

Please sign in to comment.