🐳 By default, build latest
from the master
branch
This commit is contained in:
parent
34d5bd711e
commit
4ce4373eb0
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user