-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated base image with multi arch build
- Loading branch information
1 parent
681f554
commit a90b378
Showing
5 changed files
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
FROM eclipse-temurin:11.0.15_10-jre-alpine@sha256:d401c4025eb1ead95cf2ca83cd5155bff8756527a4f4e9820570900e835f5ba4 | ||
|
||
FROM azul/zulu-openjdk-alpine:17.0.9-jre | ||
LABEL maintainer="Flowable <[email protected]>" | ||
RUN apk add --no-cache ttf-dejavu && rm -rf /var/cache/apk/* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/bin/bash | ||
set -eou pipefail | ||
|
||
readonly IMAGE=${1:-"flowable/flowable-jre:11.0.15"} | ||
readonly IMAGE=${1:-"flowable/flowable-jre:17.0.9"} | ||
echo "Image name: ${IMAGE}" | ||
|
||
echo "Building image..." | ||
docker build -t ${IMAGE} -f Dockerfile . | ||
docker buildx create --name container --driver=docker-container | ||
docker buildx build --tag ${IMAGE} --platform linux/amd64,linux/arm64 --builder container --push . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters