Commit 37a50a5c authored by nimrod's avatar nimrod
Browse files

Make the image toolbox-compliant.

parent c0abed88
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ RUN wget https://www.mongodb.org/static/pgp/server-4.4.asc -O /tmp/mongo.asc &&
        hyphen-en-us \
        ipcalc \
        iputils-ping \
        krb5-config \
        ldap-utils \
        libcairo2-dev \
        libcurl4-gnutls-dev \
@@ -145,8 +146,11 @@ RUN wget https://www.mongodb.org/static/pgp/server-4.4.asc -O /tmp/mongo.asc &&
    go get sigs.k8s.io/kind@v0.9.0 && \
    wget https://git.shore.co.il/nimrod/rcfiles/-/raw/master/Makefile -O /tmp/Makefile && \
    make -C /tmp DESTDIR=/usr/local binaries && \
    mkdir /etc/krb5.conf.d && \
    rm /etc/ssh/ssh_host_* && \
    rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
LABEL com.github.containers.toolbox="true" \
      com.github.debarshiray.toolbox="true"
VOLUME /run/sshd
EXPOSE 2222
CMD ["/usr/sbin/sshd", "-D", "-o", "Port=2222"]