correction of kresus error && push mirror gitlab-ci
This commit is contained in:
parent
2a855256a4
commit
4973503955
|
@ -117,4 +117,6 @@ pushOnGithub:
|
||||||
- touch ~/.ssh/known_hosts
|
- touch ~/.ssh/known_hosts
|
||||||
- ssh-keyscan github.com >> ~/.ssh/known_hosts
|
- ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||||
- echo "push on github"
|
- 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
|
- git push --mirror git@github.com:Dryusdan/Dockerfiles.git
|
||||||
|
|
|
@ -3,7 +3,6 @@ FROM node:6-alpine
|
||||||
ARG KRESUS_VERSION=master
|
ARG KRESUS_VERSION=master
|
||||||
ENV UID=991 GID=991 \
|
ENV UID=991 GID=991 \
|
||||||
KRESUS_DIR=/kresus/data \
|
KRESUS_DIR=/kresus/data \
|
||||||
PYTHON_EGG_CACHE=/kresus/.cache/ \
|
|
||||||
HOST=0.0.0.0
|
HOST=0.0.0.0
|
||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
@ -58,6 +57,7 @@ RUN apk -U upgrade \
|
||||||
&& mkdir .cache \
|
&& mkdir .cache \
|
||||||
&& npm install --production \
|
&& npm install --production \
|
||||||
&& chmod +x /usr/local/bin/startup \
|
&& chmod +x /usr/local/bin/startup \
|
||||||
|
&& ln -s /kresus/ /home/kresus \
|
||||||
&& apk del build-dependencies \
|
&& apk del build-dependencies \
|
||||||
&& rm -rf /kresus-scripts /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/
|
&& rm -rf /kresus-scripts /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/
|
||||||
|
|
||||||
|
|
Reference in a new issue