mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 10:46:32 +00:00
build: allow ruby in container to listen on privileged ports
This commit is contained in:
@@ -21,6 +21,8 @@ RUN apt-get update && \
|
||||
nano \
|
||||
nodejs
|
||||
|
||||
RUN setcap 'cap_net_bind_service=+ep' /usr/local/bin/ruby
|
||||
|
||||
# Setup an application
|
||||
RUN useradd -r -d /opt/postal -m -s /bin/bash -u 999 postal
|
||||
USER postal
|
||||
|
||||
Reference in New Issue
Block a user