use /var/cache in favor of /srv

This commit is contained in:
lemoer 2019-09-26 16:05:22 +02:00
parent 165d1aa6e9
commit 90b6ac2364

View File

@ -16,11 +16,11 @@ You can support the gluon CI with your infrastructure:
git clone https://github.com/freifunk-gluon/gluon/ git clone https://github.com/freifunk-gluon/gluon/
cd gluon/contrib/ci/jenkins-community-slave/ cd gluon/contrib/ci/jenkins-community-slave/
docker build -t gluon-jenkins . docker build -t gluon-jenkins .
mkdir /srv/openwrt_dl_cache/ mkdir /var/cache/openwrt_dl_cache/
docker run --detach --restart always \ docker run --detach --restart always \
-e "SLAVE_NAME=whoareyou" \ -e "SLAVE_NAME=whoareyou" \
-e "SLAVE_SECRET=changeme" \ -e "SLAVE_SECRET=changeme" \
-v /srv/openwrt_dl_cache/:/dl_cache -v /var/cache/openwrt_dl_cache/:/dl_cache
``` ```
4. Check whether the instance is running correctly: 4. Check whether the instance is running correctly:
- Your node should appear [here](https://build.ffh.zone/label/gluon-docker/). - Your node should appear [here](https://build.ffh.zone/label/gluon-docker/).