Commit 99900a54 authored by nimrod's avatar nimrod
Browse files

More toolbox compatible (maybe?)

parent e04a79d1
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -35,9 +35,11 @@ RUN wget https://www.mongodb.org/static/pgp/server-4.4.asc -O /tmp/mongo.asc &&
        hyphen-en-us \
        ipcalc \
        iputils-ping \
        keyutils \
        krb5-config \
        ldap-utils \
        libcairo2-dev \
        libcap2-bin \
        libcurl4-gnutls-dev \
        libdbus-1-dev \
        libgirepository1.0-dev \
@@ -45,7 +47,10 @@ RUN wget https://www.mongodb.org/static/pgp/server-4.4.asc -O /tmp/mongo.asc &&
        libpq-dev \
        libsasl2-dev \
        libyaml-dev \
        lsof \
        man-db \
        meson \
        mlocate \
        mongodb-database-tools \
        mythes-en-us \
        netcat-openbsd \
@@ -156,5 +161,5 @@ LABEL com.github.containers.toolbox="true" \
      com.github.debarshiray.toolbox="true"
VOLUME /run/sshd
EXPOSE 2222
CMD ["/usr/sbin/sshd", "-D", "-o", "Port=2222"]
CMD ["/bin/bash"]
HEALTHCHECK CMD nc -vzw3 localhost 2222 || exit 1
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ services:
  sshd:
    build:
      context: .
    command: ["/usr/sbin/sshd", "-D", "-o", "Port=2222"]
    hostname: workbench.shore.co.il
    image: registry.shore.co.il/workbench:${TAG:-latest}
    network_mode: host