mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-12 07:47:02 +08:00
tests: don't expose any ports in docker tests
This commit is contained in:
@@ -17,13 +17,6 @@ RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/s
|
||||
RUN echo 'root:root' |chpasswd
|
||||
RUN useradd -m -d /home/admin -s /bin/bash admin
|
||||
RUN echo 'admin:admin' |chpasswd
|
||||
EXPOSE 6000
|
||||
EXPOSE 6000/udp
|
||||
EXPOSE 6001
|
||||
EXPOSE 6001/udp
|
||||
EXPOSE 6551
|
||||
EXPOSE 6551/udp
|
||||
EXPOSE 22
|
||||
|
||||
RUN mkdir /etc/ocserv
|
||||
|
||||
|
||||
Reference in New Issue
Block a user