Loading Dockerfile +0 −2 Original line number Diff line number Diff line Loading @@ -163,6 +163,4 @@ RUN wget https://www.mongodb.org/static/pgp/server-4.4.asc -O /tmp/mongo.asc && LABEL com.github.containers.toolbox="true" \ com.github.debarshiray.toolbox="true" VOLUME /run/sshd EXPOSE 2222 CMD ["/bin/bash"] HEALTHCHECK CMD nc -vzw3 localhost 2222 || exit 1 docker-compose.yml +4 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,10 @@ services: build: context: . command: ["/usr/sbin/sshd", "-D", "-o", "Port=2222"] healthcheck: test: - CMD-SHELL - nc -vzw3 localhost 2222 || exit 1 hostname: workbench.shore.co.il image: registry.shore.co.il/workbench:${TAG:-latest} network_mode: host Loading Loading
Dockerfile +0 −2 Original line number Diff line number Diff line Loading @@ -163,6 +163,4 @@ RUN wget https://www.mongodb.org/static/pgp/server-4.4.asc -O /tmp/mongo.asc && LABEL com.github.containers.toolbox="true" \ com.github.debarshiray.toolbox="true" VOLUME /run/sshd EXPOSE 2222 CMD ["/bin/bash"] HEALTHCHECK CMD nc -vzw3 localhost 2222 || exit 1
docker-compose.yml +4 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,10 @@ services: build: context: . command: ["/usr/sbin/sshd", "-D", "-o", "Port=2222"] healthcheck: test: - CMD-SHELL - nc -vzw3 localhost 2222 || exit 1 hostname: workbench.shore.co.il image: registry.shore.co.il/workbench:${TAG:-latest} network_mode: host Loading