mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-10-08 14:51:18 +00:00
ATS-400 : Squash layers during docker image build (#28)
* ATS-400 : Squash layers during docker image build * ATS-400 : Upgrade fabric8-maven-plugin to 4.1.0 * ATS-400 : Update build environment OS to Ubuntu 16 Xenial * ATS-400 : Enable docker experimental features
This commit is contained in:
@@ -10,6 +10,10 @@ echo "${QUAY_PASSWORD}" | docker login -u="alfresco+bamboo" --password-stdin qua
|
||||
echo "${DOCKERHUB_PASSWORD}" | docker login -u=${DOCKERHUB_USERNAME} --password-stdin docker.io
|
||||
find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf
|
||||
|
||||
# Enable experimental docker features (e.g. squash options)
|
||||
echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
|
||||
sudo service docker restart
|
||||
|
||||
popd
|
||||
set +vex
|
||||
echo "=========================== Finishing Init Script =========================="
|
||||
|
Reference in New Issue
Block a user