From 9f29b1b8dd38535271b39371c20ac99ab7ab33d6 Mon Sep 17 00:00:00 2001 From: bytedream Date: Sun, 19 Dec 2021 20:21:37 +0100 Subject: [PATCH] Updated install instructions --- README.md | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 71b5cb3..c1ee3c5 100644 --- a/README.md +++ b/README.md @@ -47,17 +47,11 @@ For every install method your OS **must** be linux and docker has to be installed. -- Download from the latest release (currently only x64 architecture supported) - - Download `docker4ssh-.tar.gz` from the [latest release](https://github.com/ByteDream/docker4ssh/releases/latest) - - Install it - - Into your root directory (recommended) - ```shell - $ sudo tar -xvzf docker4ssh-.tar.gz -C / - ``` - - To the same directory - ```shell - $ sudo tar -xvzf docker4ssh-.tar.gz - ``` +- From the latest release (currently only x64 architecture supported) + + Replace the `RELEASE` value in the following oneliner with the latest release [version](https://github.com/ByteDream/docker4ssh/releases/latest). + ```shell + $ RELEASE= curl -L https://github.com/ByteDream/docker4ssh/releases/download/v$RELEASE/docker4ssh-$RELEASE.tar.gz | tar -xvzf - -C / - Building from source Before start installing, make sure you have to following things ready: @@ -69,6 +63,7 @@ For every install method your OS **must** be linux and docker has to be installe ```shell $ git clone https://github.com/ByteDream/docker4ssh $ cd docker4ssh + $ make build $ make install ```