parent
427560a52d
commit
637c47341f
2 changed files with 21 additions and 1 deletions
|
@ -14,10 +14,11 @@
|
||||||
|
|
||||||
FROM centurylink/ca-certs
|
FROM centurylink/ca-certs
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
ADD contrib/docker/etc/nsswitch.conf /etc/
|
||||||
|
|
||||||
ENV DATABASE_DRIVER=sqlite3
|
ENV DATABASE_DRIVER=sqlite3
|
||||||
ENV DATABASE_CONFIG=/var/lib/drone/drone.sqlite
|
ENV DATABASE_CONFIG=/var/lib/drone/drone.sqlite
|
||||||
|
|
||||||
ADD drone_static /drone_static
|
ADD drone_static /drone_static
|
||||||
|
|
||||||
ENTRYPOINT ["/drone_static"]
|
ENTRYPOINT ["/drone_static"]
|
||||||
|
|
19
contrib/docker/etc/nsswitch.conf
Normal file
19
contrib/docker/etc/nsswitch.conf
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# /etc/nsswitch.conf
|
||||||
|
#
|
||||||
|
# Example configuration of GNU Name Service Switch functionality.
|
||||||
|
# If you have the `glibc-doc-reference' and `info' packages installed, try:
|
||||||
|
# `info libc "Name Service Switch"' for information about this file.
|
||||||
|
|
||||||
|
passwd: compat
|
||||||
|
group: compat
|
||||||
|
shadow: compat
|
||||||
|
|
||||||
|
hosts: files dns
|
||||||
|
networks: files
|
||||||
|
|
||||||
|
protocols: files
|
||||||
|
services: files
|
||||||
|
ethers: files
|
||||||
|
rpc: files
|
||||||
|
|
||||||
|
netgroup: nis
|
Loading…
Reference in a new issue