mirror of
https://github.com/smallstep/certificates.git
synced 2024-11-17 15:29:21 +00:00
Merge pull request #176 from moqmar/patch/ports-below-1024
Let step-ca bind to ports < 1024 Fixes #170
This commit is contained in:
commit
91bf74551b
@ -7,6 +7,10 @@ ENV PWDPATH="/home/step/secrets/password"
|
|||||||
|
|
||||||
COPY $BINPATH "/usr/local/bin/step-ca"
|
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"]
|
VOLUME ["/home/step"]
|
||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user