mirror of
https://gitlab.com/jarylc/docker-duoauthproxy.git
synced 2026-02-04 09:46:44 +00:00
moved CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1 to entrypoint.sh to fix startup error
This commit is contained in:
@@ -24,7 +24,6 @@ RUN rm -rf /app/usr/local/lib/python${PYTHON_VERSION%.*}/test
|
||||
RUN chown -R nobody:nobody /app/conf
|
||||
|
||||
FROM alpine:edge
|
||||
ARG CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1
|
||||
WORKDIR /app
|
||||
RUN apk add --no-cache libgcc libffi-dev gcompat su-exec
|
||||
USER 0:0
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/bin/ash
|
||||
set -e
|
||||
export LD_PRELOAD=libgcompat.so.0
|
||||
export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1
|
||||
su-exec 0:0 /app/bin/authproxy_connectivity_tool
|
||||
su-exec 0:0 /app/bin/authproxy
|
||||
|
||||
Reference in New Issue
Block a user