Add public comparison benchmarks and SSH import
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM ubuntu:24.04
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends openssh-server ca-certificates \
|
||||
&& apt-get install -y --no-install-recommends openssh-server ca-certificates mosh \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN useradd -m -s /bin/sh bench \
|
||||
@@ -16,6 +16,6 @@ RUN chmod 0755 /usr/local/bin/dosh-server /usr/local/bin/dosh-auth \
|
||||
&& chmod 0600 /home/bench/.ssh/authorized_keys \
|
||||
&& chown bench:bench /home/bench/.ssh/authorized_keys
|
||||
|
||||
EXPOSE 22/tcp 50000/udp
|
||||
EXPOSE 22/tcp 50000/udp 60000/udp
|
||||
|
||||
CMD ["/bin/sh", "-lc", "su - bench -c 'nohup /usr/local/bin/dosh-server serve >/tmp/dosh-server.log 2>&1 &' && exec /usr/sbin/sshd -D -e"]
|
||||
|
||||
Reference in New Issue
Block a user