diff --git a/scratch/amd64/Dockerfile b/scratch/amd64/Dockerfile index c87db69..94ab30a 100644 --- a/scratch/amd64/Dockerfile +++ b/scratch/amd64/Dockerfile @@ -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"] diff --git a/scratch/amd64/etc/nsswitch.conf b/scratch/amd64/etc/nsswitch.conf new file mode 100644 index 0000000..1142be1 --- /dev/null +++ b/scratch/amd64/etc/nsswitch.conf @@ -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 diff --git a/scratch/arm/Dockerfile b/scratch/arm/Dockerfile index c87db69..94ab30a 100644 --- a/scratch/arm/Dockerfile +++ b/scratch/arm/Dockerfile @@ -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"] diff --git a/scratch/arm/etc/nsswitch.conf b/scratch/arm/etc/nsswitch.conf new file mode 100644 index 0000000..1142be1 --- /dev/null +++ b/scratch/arm/etc/nsswitch.conf @@ -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 diff --git a/scratch/arm64/Dockerfile b/scratch/arm64/Dockerfile index c87db69..94ab30a 100644 --- a/scratch/arm64/Dockerfile +++ b/scratch/arm64/Dockerfile @@ -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"] diff --git a/scratch/arm64/etc/nsswitch.conf b/scratch/arm64/etc/nsswitch.conf new file mode 100644 index 0000000..1142be1 --- /dev/null +++ b/scratch/arm64/etc/nsswitch.conf @@ -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 diff --git a/scratch/tmpl.Dockerfile b/scratch/tmpl.Dockerfile index 23bfc36..66ea06f 100644 --- a/scratch/tmpl.Dockerfile +++ b/scratch/tmpl.Dockerfile @@ -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"]