🐳 By default, build `latest` from the `master` branch

This commit is contained in:
Christian Mäder 2017-08-30 11:07:28 +02:00
parent 34d5bd711e
commit 4ce4373eb0
No known key found for this signature in database
GPG Key ID: 92FFD0A711F196BB
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ RUN apk add --no-cache \
WORKDIR /opt
ARG BRANCH=v2.0.7
ARG BRANCH=master
ARG URL=https://github.com/digitalocean/netbox/archive/$BRANCH.tar.gz
RUN wget -q -O - "${URL}" | tar xz \
&& mv netbox* netbox

View File

@ -5,7 +5,7 @@ services:
context: .
args:
- BRANCH=${BRANCH-master}
image: ninech/netbox:${BRANCH-master}
image: ninech/netbox:${BRANCH-latest}
depends_on:
- postgres
env_file: netbox.env