Loading Dockerfile +5 −0 Original line number Diff line number Diff line Loading @@ -163,6 +163,11 @@ RUN mkdir -p $KEYS_DIR RUN mkdir -p $LOGS_DIR RUN mkdir -p $USERSCRIPTS_DIR # Copy required files ##################### COPY userscripts /srv/userscripts/ # Install build dependencies ############################ RUN echo 'deb http://deb.debian.org/debian sid main' >> /etc/apt/sources.list Loading userscripts/begin.sh 0 → 100755 +7 −0 Original line number Diff line number Diff line #!/bin/bash # Get local manifests (especiially for specific devices) cd /srv/local_manifests if [ ! -d ".git" ]; then git init && git remote add -f origin ssh://git@gitlab.eelo.io:2222/eelo/local_manifests.git; fi git checkout master git pull userscripts/end.sh 0 → 100755 +5 −0 Original line number Diff line number Diff line #!/bin/bash # Publish packages /usr/bin/rsync -avz /srv/zips/ root@images.eelo.io:/eelo/builds/full/ /usr/bin/rsync -avz /srv/zips/ root@ota.eelo.io:/mnt/docker/ota/builds/full/ Loading
Dockerfile +5 −0 Original line number Diff line number Diff line Loading @@ -163,6 +163,11 @@ RUN mkdir -p $KEYS_DIR RUN mkdir -p $LOGS_DIR RUN mkdir -p $USERSCRIPTS_DIR # Copy required files ##################### COPY userscripts /srv/userscripts/ # Install build dependencies ############################ RUN echo 'deb http://deb.debian.org/debian sid main' >> /etc/apt/sources.list Loading
userscripts/begin.sh 0 → 100755 +7 −0 Original line number Diff line number Diff line #!/bin/bash # Get local manifests (especiially for specific devices) cd /srv/local_manifests if [ ! -d ".git" ]; then git init && git remote add -f origin ssh://git@gitlab.eelo.io:2222/eelo/local_manifests.git; fi git checkout master git pull
userscripts/end.sh 0 → 100755 +5 −0 Original line number Diff line number Diff line #!/bin/bash # Publish packages /usr/bin/rsync -avz /srv/zips/ root@images.eelo.io:/eelo/builds/full/ /usr/bin/rsync -avz /srv/zips/ root@ota.eelo.io:/mnt/docker/ota/builds/full/