blob: 94d0caa163cbd95c8d7badf5666597eb35bd80d2 [file] [log] [blame]
# Creates a Docker image containing necessary dependencies of ssh_client and a
# command to run the ssh_client build script.
# Usage from libapps folder: "docker build -t ssh_client .".
FROM debian:sid
ENV DEBIAN_FRONTEND noninteractive
# Install needed packages for building ssh_client.
RUN dpkg --add-architecture i386
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils
# Keep this in sync with the's Development Tools section.
RUN apt-get --assume-yes install \
libstdc++6:i386 libglib2.0-0:i386 git make cmake \
python python-dev python3 wget curl zlib1g-dev
# Set git config to dummy values for webports patch to work.
# When patches are applied, webports generates local git repos & commits.
RUN git config --system ""
RUN git config --system "Secure Shell Dummy Name"
CMD /ssh_client/