Merge "Update dockerfiles to include ssh client"

This commit is contained in:
Zuul 2019-06-07 18:09:26 +00:00 committed by Gerrit Code Review
commit fb2f62d25a
2 changed files with 21 additions and 18 deletions

View File

@ -12,26 +12,27 @@ LABEL org.opencontainers.image.licenses='Apache-2.0'
ENV LANG=C.UTF-8 ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8 ENV LC_ALL=C.UTF-8
RUN set -x && \ RUN set -x \
zypper up -y && \ && zypper up -y \
zypper --non-interactive install \ && zypper --non-interactive install \
git-core \ curl \
which \ gcc \
gcc \ git-core \
curl \ openssh \
python3-devel \ python3-dbm \
python3-setuptools \ python3-devel \
python3-dbm \ python3-pip \
python3-pip && \ python3-setuptools \
pip install --upgrade pip && \ which \
zypper clean -a && \ && python3 -m pip install -U pip \
rm -rf \ && zypper clean -a \
&& rm -rf \
/tmp/* \ /tmp/* \
/var/tmp/* \
/var/log/* \
/usr/share/man \
/usr/share/doc \ /usr/share/doc \
/usr/share/doc-base /usr/share/doc-base \
/usr/share/man \
/var/log/* \
/var/tmp/*
VOLUME /var/pegleg VOLUME /var/pegleg
WORKDIR /var/pegleg WORKDIR /var/pegleg

View File

@ -21,6 +21,7 @@ RUN set -ex \
git \ git \
libssl-dev \ libssl-dev \
netbase \ netbase \
openssh-client \
python3-dev \ python3-dev \
python3-pip \ python3-pip \
python3-setuptools \ python3-setuptools \
@ -33,6 +34,7 @@ RUN set -ex \
/usr/share/doc-base \ /usr/share/doc-base \
/usr/share/man \ /usr/share/man \
/var/lib/apt/lists/* \ /var/lib/apt/lists/* \
/var/log/* \
/var/tmp/* /var/tmp/*
VOLUME /var/pegleg VOLUME /var/pegleg