mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2025-09-10 14:12:09 +00:00
* ACS-4140 Changes in pom and Dockerfile for alfresco-content-repository-community image
* ACS-4140 Changes in pom and Dockerfile for alfresco-governance-share-community and alfresco-governance-repository-community
* ACS-4140 Add docker image build mode option in build.sh
* ACS-4140 Fix in prepare_buildx.sh to not duplicate image.tag
* ACS-4139 Fix intermittent failures
* ACS-4139 Remove echo
* ACS-4140 Refactor build.sh
* ACS-4140 Added missing <BASE_IMAGE> argument
* ACS-4140 Push docker images to local repository
* ACS-4140 Add 'build-multiarch-docker-images' profile to 'share-community-docker'
* ACS-4140 Use build for 'push-docker-images' and 'release' profiles
* ACS-4140 Remove comments
* ACS-4140 Add missing properties
* ACS-4140 Inherit required properties
* ACS-4140 Change the 'build-multiarch-docker-image' profile phase to package
* Revert "ACS-4140 Change the 'build-multiarch-docker-image' profile phase to package"
This reverts commit 38781abc9a
.
* ACS-4140 Bump community repo/share versions
---------
Co-authored-by: Damian.Ujma@hyland.com <Damian.Ujma@hyland.com>
21 lines
1.1 KiB
Bash
Executable File
21 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
BUILDER_NAME="${1}"
|
|
TARGET_REGISTRY="${2}"
|
|
TARGET_IMAGE="${3}"
|
|
IMAGE_TAG="${4}"
|
|
|
|
#Create a `docker-container` builder with host networking and required flags (quay.io)
|
|
docker --config target/docker/"${TARGET_REGISTRY}"/"${TARGET_IMAGE}"/"${IMAGE_TAG}"/docker \
|
|
buildx create --use --name "${BUILDER_NAME}" --driver-opt network=host \
|
|
--buildkitd-flags '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host'
|
|
|
|
#Create a `docker-container` builder with host networking and required flags (docker.io)
|
|
docker --config target/docker/"${TARGET_IMAGE}"/"${IMAGE_TAG}"/docker \
|
|
buildx create --use --name "${BUILDER_NAME}" --driver-opt network=host \
|
|
--buildkitd-flags '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host'
|
|
|
|
#Create a `docker-container` builder with host networking and required flags (local registry)
|
|
docker --config target/docker/127.0.0.1/5000/"${TARGET_IMAGE}"/"${IMAGE_TAG}"/docker \
|
|
buildx create --use --name "${BUILDER_NAME}" --driver-opt network=host \
|
|
--buildkitd-flags '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host' |