summaryrefslogtreecommitdiffstats
path: root/docker/nsswitch.conf
diff options
context:
space:
mode:
authorJean-Philippe Roemer <roemer.jp@gmail.com>2016-01-25 13:07:37 +0000
committerJean-Philippe Roemer <roemer.jp@gmail.com>2016-01-25 13:07:37 +0000
commit9032bd097be863ec7e27b2b56f641937f65067c3 (patch)
tree9b1644543afa17531facc265c0dfbbde7ca1c6cb /docker/nsswitch.conf
parent38efa72146eb8caeed0140f36a8e322c1426fda1 (diff)
downloadgitea-9032bd097be863ec7e27b2b56f641937f65067c3.tar.gz
gitea-9032bd097be863ec7e27b2b56f641937f65067c3.zip
Update Dockerfile & build script and add /etc/nsswitch.conf:
- Add nsswitch.conf to configure LibC Name Service inside the container - Change my email in the Dockerfile - Update build script to install software as a `build-deps` virtual package so that adding a package to it will be automatically removed at the end of the build script
Diffstat (limited to 'docker/nsswitch.conf')
-rw-r--r--docker/nsswitch.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/docker/nsswitch.conf b/docker/nsswitch.conf
new file mode 100644
index 0000000000..70eb1733f4
--- /dev/null
+++ b/docker/nsswitch.conf
@@ -0,0 +1,16 @@
+# /etc/nsswitch.conf
+
+passwd: compat
+group: compat
+shadow: compat
+
+hosts: files dns
+networks: files
+
+protocols: db files
+services: db files
+ethers: db files
+rpc: db files
+
+netgroup: nis
+