reference docker images at docker.io
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
# vim: ft=Dockerfile
|
||||
FROM netdisco-base:latest
|
||||
ARG TAG=master
|
||||
FROM docker.io/netdisco:${TAG}-base
|
||||
|
||||
EXPOSE 5000
|
||||
VOLUME ["/home/netdisco/environments", "/home/netdisco/nd-site-local"]
|
||||
|
||||
USER netdisco:netdisco
|
||||
WORKDIR $NETDISCO_HOME
|
||||
VOLUME ["/home/netdisco/environments", "/home/netdisco/nd-site-local"]
|
||||
ENTRYPOINT ["/home/netdisco/bin/netdisco-web"]
|
||||
CMD ["foreground"]
|
||||
|
||||
2
docker/netdisco-web/hooks/build
Executable file
2
docker/netdisco-web/hooks/build
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
docker build --build-arg TAG=$SOURCE_BRANCH -t $IMAGE_NAME .
|
||||
Reference in New Issue
Block a user