From 0f0f6dd728a7e1bf330bdab052528969ad2a2a48 Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Fri, 26 Jan 2018 14:46:32 +0100 Subject: ssh: Skeleton of build scripts for DropBear image --- .../build_scripts/create-dropbear-ssh | 28 ++++++++++++++++++++++ .../build_scripts/create-dropbear-ssh-run | 27 +++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100755 lib/ssh/test/ssh_compat_SUITE_data/build_scripts/create-dropbear-ssh create mode 100755 lib/ssh/test/ssh_compat_SUITE_data/build_scripts/create-dropbear-ssh-run (limited to 'lib') diff --git a/lib/ssh/test/ssh_compat_SUITE_data/build_scripts/create-dropbear-ssh b/lib/ssh/test/ssh_compat_SUITE_data/build_scripts/create-dropbear-ssh new file mode 100755 index 0000000000..85973081d0 --- /dev/null +++ b/lib/ssh/test/ssh_compat_SUITE_data/build_scripts/create-dropbear-ssh @@ -0,0 +1,28 @@ +#!/bin/sh + +# ./create-dropbear-ssh + +# This way of fetching the tar-file separate from the docker commands makes +# http-proxy handling way easier. The wget command handles the $https_proxy +# variable while the docker command must have /etc/docker/something changed +# and the docker server restarted. That is not possible without root access. + +# Make a Dockerfile. This method simplifies env variable handling considerably: +cat - > TempDockerFile < TempDockerFile <