From 0ccfe0a1a7795e1cc77ed58cdd2773276f78de24 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 23 Aug 2016 09:47:32 +1000 Subject: [PATCH] Updated permissions on COPY files --- .dockerignore | 1 + .gitlab-ci.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.dockerignore b/.dockerignore index 26401e8..0b74adb 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ +.git/ image*bz2 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 96cd262..8e02c31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,6 +31,9 @@ test: build: stage: build script: + - chmod 600 .my.cnf + - chmod 500 init + - chmod 444 10-default.conf - docker build -t ${DOCKER_IMAGE}:${VERSION} . - docker tag ${DOCKER_IMAGE}:${VERSION} ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${VERSION} - docker push ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${VERSION}