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:
CezarLeahu
2019-05-21 11:43:17 +03:00
committed by GitHub
parent 97a388d00c
commit 7ecbcdb373
8 changed files with 68 additions and 4 deletions

View File

@@ -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 =========================="