mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4158] improved Docker image security (#4371)
* improved Docker image security * remove layer duplication * update scripts
This commit is contained in:
committed by
Eugenio Romano
parent
bbf1f20439
commit
d6f856f1c5
@@ -40,7 +40,7 @@ cd $DIR/..
|
||||
|
||||
echo "====== PUBLISH DOCKER IMAGE TAG pr $NAME_PR ====="
|
||||
|
||||
docker build -t $DOCKER_REPO/adf/demo-shell:$NAME_PR .
|
||||
docker build -t $DOCKER_REPO/adf/demo-shell:$NAME_PR --build-arg BUILD_NUMBER=$NAME_PR .
|
||||
|
||||
echo "====== LOGIN ====="
|
||||
docker login http://$DOCKER_REPO -p $PASSWORD_DOCKER -u $USERNAME_DOCKER
|
||||
|
Reference in New Issue
Block a user