Let step-ca bind to ports < 1024

pull/176/head
Moritz Marquardt 4 years ago
parent f8eec06563
commit da18defd94

@ -7,6 +7,10 @@ ENV PWDPATH="/home/step/secrets/password"
COPY $BINPATH "/usr/local/bin/step-ca"
USER root
RUN apk add --no-cache libcap && setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/step-ca
USER step
VOLUME ["/home/step"]
STOPSIGNAL SIGTERM

Loading…
Cancel
Save