%s/digitalocean/netbox-community/gi

Thank you Digitalocean for sponsoring Netbox!
And thank you for letting it grow up and move out ;)
This commit is contained in:
Christian Mäder 2019-07-02 21:32:58 +02:00
parent aed5126279
commit dc3db2d9fd
6 changed files with 33 additions and 37 deletions

View file

@ -36,7 +36,7 @@ WORKDIR /tmp
# As the requirements don't change very often,
# and as they take some time to compile,
# we try to cache them very agressively.
ARG REQUIREMENTS_URL=https://raw.githubusercontent.com/digitalocean/netbox/$BRANCH/requirements.txt
ARG REQUIREMENTS_URL=https://raw.githubusercontent.com/netbox-community/netbox/$BRANCH/requirements.txt
ADD ${REQUIREMENTS_URL} requirements.txt
RUN pip install -r requirements.txt
@ -44,12 +44,12 @@ RUN pip install -r requirements.txt
# ADD will fetch the file and check if it has changed
# If not, Docker will use the existing build cache.
# If yes, Docker will bust the cache and run every build step from here on.
ARG REF_URL=https://api.github.com/repos/digitalocean/netbox/contents?ref=$BRANCH
ARG REF_URL=https://api.github.com/repos/netbox-community/netbox/contents?ref=$BRANCH
ADD ${REF_URL} version.json
WORKDIR /opt
ARG URL=https://github.com/digitalocean/netbox/archive/$BRANCH.tar.gz
ARG URL=https://github.com/netbox-community/netbox/archive/$BRANCH.tar.gz
RUN wget -q -O - "${URL}" | tar xz \
&& mv netbox* netbox