git.iko.soy/typeable/oauth2-proxy
on master help sign in
remove nsswitch workaround (#2371)

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>

commit0b24f45965d19c96058030810e7b2b882eee55a7 authorJan Larwig <jan@larwig.com> dateSat 20 Jan 2024, 20:48 (3 years ago) parent2f3c811
3 files changed+1−2
CHANGELOG.md+1 Dockerfile−1 nsswitch.conf−1
CHANGELOG.md+1
@@ -25,6 +25,7 @@
2525- [#2343](https://github.com/oauth2-proxy/oauth2-proxy/pull/2343) chore: Added checksums for .tar.gz (@kvanzuijlen)
2626- [#2248](https://github.com/oauth2-proxy/oauth2-proxy/pull/2248) Added support for semicolons in query strings. (@timwsuqld)
2727- [#2196](https://github.com/oauth2-proxy/oauth2-proxy/pull/2196) Add GitHub groups (orgs/teams) support. Including `X-Forwarded-Groups` header (@tuunit)
28+- [#2371](https://github.com/oauth2-proxy/oauth2-proxy/pull/2371) Remove nsswitch DNS resolution workaround (@tuunit)
2829- [#2295](https://github.com/oauth2-proxy/oauth2-proxy/pull/2295) Change base-image to [GoogleContainerTools/distroless](https://github.com/GoogleContainerTools/distroless) (@kvanzuijlen)
2930- [#2356](https://github.com/oauth2-proxy/oauth2-proxy/pull/2356) Update go-jose dependency (@dasvh)
3031- [#2357](https://github.com/oauth2-proxy/oauth2-proxy/pull/2357) Update ojg to latest release (@bitfehler)
Dockerfile−1
@@ -45,7 +45,6 @@ RUN case ${TARGETPLATFORM} in \
4545
4646# Copy binary to runtime image
4747FROM ${RUNTIME_IMAGE}
48−COPY nsswitch.conf /etc/nsswitch.conf
4948COPY --from=builder /go/src/github.com/oauth2-proxy/oauth2-proxy/oauth2-proxy /bin/oauth2-proxy
5049COPY --from=builder /go/src/github.com/oauth2-proxy/oauth2-proxy/jwt_signing_key.pem /etc/ssl/private/jwt_signing_key.pem
5150
nsswitch.confdeleted−1
@@ -1 +0,0 @@
1−hosts: files dns