Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Add nsswitch.conf file into the image
Browse files Browse the repository at this point in the history
  • Loading branch information
mprasil committed Nov 23, 2018
1 parent fcb97d8 commit b81cef9
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions scratch/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM scratch
COPY certs/ca-certificates.crt /etc/ssl/certs/
COPY /etc/nsswitch.conf /etc/
COPY traefik /
EXPOSE 80
VOLUME ["/tmp"]
Expand Down
20 changes: 20 additions & 0 deletions scratch/amd64/etc/nsswitch.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# /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
gshadow: files

hosts: files dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis
1 change: 1 addition & 0 deletions scratch/arm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM scratch
COPY certs/ca-certificates.crt /etc/ssl/certs/
COPY /etc/nsswitch.conf /etc/
COPY traefik /
EXPOSE 80
VOLUME ["/tmp"]
Expand Down
20 changes: 20 additions & 0 deletions scratch/arm/etc/nsswitch.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# /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
gshadow: files

hosts: files dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis
1 change: 1 addition & 0 deletions scratch/arm64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM scratch
COPY certs/ca-certificates.crt /etc/ssl/certs/
COPY /etc/nsswitch.conf /etc/
COPY traefik /
EXPOSE 80
VOLUME ["/tmp"]
Expand Down
20 changes: 20 additions & 0 deletions scratch/arm64/etc/nsswitch.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# /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
gshadow: files

hosts: files dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis
1 change: 1 addition & 0 deletions scratch/tmpl.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM scratch
COPY certs/ca-certificates.crt /etc/ssl/certs/
COPY /etc/nsswitch.conf /etc/
COPY traefik /
EXPOSE 80
VOLUME ["/tmp"]
Expand Down

0 comments on commit b81cef9

Please sign in to comment.