correction of kresus error && push mirror gitlab-ci

This commit is contained in:
Dryusdan 2017-07-01 15:27:44 +02:00
parent 2a855256a4
commit 4973503955
2 changed files with 3 additions and 1 deletions

View File

@ -117,4 +117,6 @@ pushOnGithub:
- touch ~/.ssh/known_hosts
- ssh-keyscan github.com >> ~/.ssh/known_hosts
- echo "push on github"
- git clone https://Dryusdan@git.drycat.fr/Dryusdan/Dockerfiles.git
- cd Dockerfiles
- git push --mirror git@github.com:Dryusdan/Dockerfiles.git

View File

@ -3,7 +3,6 @@ FROM node:6-alpine
ARG KRESUS_VERSION=master
ENV UID=991 GID=991 \
KRESUS_DIR=/kresus/data \
PYTHON_EGG_CACHE=/kresus/.cache/ \
HOST=0.0.0.0
COPY rootfs /
@ -58,6 +57,7 @@ RUN apk -U upgrade \
&& mkdir .cache \
&& npm install --production \
&& chmod +x /usr/local/bin/startup \
&& ln -s /kresus/ /home/kresus \
&& apk del build-dependencies \
&& rm -rf /kresus-scripts /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/