Skip to content

Commit 7d858dd

Browse files
committed
Updated with some changes
1 parent be21e4b commit 7d858dd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

server/strongswan.dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,8 @@ WORKDIR /home/strongswan
116116
EXPOSE 500/udp 4500/udp 9234/tcp
117117
VOLUME ["/etc/swanctl", "/var/log/strongswan"]
118118

119+
WORKDIR /root
120+
RUN chown -R root:root /etc/swanctl /var/run/strongswan /var/log/strongswan
121+
USER root
122+
119123
ENTRYPOINT ["/usr/bin/tini", "--", "/entrypoint.sh"]

0 commit comments

Comments
 (0)