From 6766adb7fe30fde565056f1d212975e87ac959df Mon Sep 17 00:00:00 2001 From: Michael Pilosov <40366263+mathematicalmichael@users.noreply.github.com> Date: Sat, 8 Aug 2020 12:29:37 -0600 Subject: [PATCH 1/2] add openssh-client to enable git clone via ssh I like to mount my .ssh and .gitconfig folders inside of containers, and was surprised to find myself unable to `git clone git@github.com: ...`, this addresses that. Adds about 7MB to docker image. --- .build/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/.build/Dockerfile b/.build/Dockerfile index fa03214..f5a4d6f 100755 --- a/.build/Dockerfile +++ b/.build/Dockerfile @@ -41,6 +41,7 @@ RUN apt-get update \ locales \ fonts-liberation \ run-one \ + openssh-client \ && apt-get clean && rm -rf /var/lib/apt/lists/* RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \ From 718d641240cc84adf48f5d58a4e88e629e438934 Mon Sep 17 00:00:00 2001 From: Michael Pilosov <40366263+mathematicalmichael@users.noreply.github.com> Date: Sat, 8 Aug 2020 14:57:44 -0600 Subject: [PATCH 2/2] Update Dockerfile.usefulpackages - adds openssh-client - uses updated "authors" ("maintainer" will soon be deprecated). --- src/Dockerfile.usefulpackages | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dockerfile.usefulpackages b/src/Dockerfile.usefulpackages index d93ca30..7782bb2 100644 --- a/src/Dockerfile.usefulpackages +++ b/src/Dockerfile.usefulpackages @@ -1,4 +1,4 @@ -LABEL maintainer="Christoph Schranz " +LABEL authors="Christoph Schranz , Mathematical Michael " USER root @@ -16,7 +16,7 @@ RUN set -ex \ graphviz==0.11 \ ' \ && apt-get update \ - && apt-get -y install htop apt-utils graphviz libgraphviz-dev \ + && apt-get -y install htop apt-utils graphviz libgraphviz-dev openssh-client \ && pip install --no-cache-dir $buildDeps # Install various extensions