From 14094806202ee1a3f976390b0ac69aaaf56a1607 Mon Sep 17 00:00:00 2001 From: Wolfgang Klinger Date: Tue, 15 Oct 2019 15:26:16 +0200 Subject: [PATCH] Remove default -v option for openconnect --- README.md | 2 +- build/entrypoint.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ff35d9d..e03e4bc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # openconnect + tinyproxy + microsocks -This Docker image contains an [openconnect client](http://www.infradead.org/openconnect/) (version 8.04 with pulse/juniper support) and the [tinyproxy proxy server](https://tinyproxy.github.io/) for http/s connections (default on port 8888) and the [microsocks proxy](https://github.com/rofl0r/microsocks) for socks5 connections (default on port 8889) in a very small [alpine linux](https://www.alpinelinux.org/) image (around 60 MB). +This Docker image contains an [openconnect client](http://www.infradead.org/openconnect/) (version 8.04 with pulse/juniper support) and the [tinyproxy proxy server](https://tinyproxy.github.io/) for http/s connections (default on port 8888) and the [microsocks proxy](https://github.com/rofl0r/microsocks) for socks5 connections (default on port 8889) in a very small [alpine linux](https://www.alpinelinux.org/) image (around 20 MB). You can find the image on docker hub: https://hub.docker.com/r/wazum/openconnect-proxy diff --git a/build/entrypoint.sh b/build/entrypoint.sh index e6ec127..e196918 100644 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -13,11 +13,11 @@ echo "socks5 proxy listening on $SOCKS5_PROXY_PORT" # Start openconnect if [[ -z "${OPENCONNECT_PASSWORD}" ]]; then # Ask for password - openconnect -v -u $OPENCONNECT_USER $OPENCONNECT_OPTIONS $OPENCONNECT_URL + openconnect -u $OPENCONNECT_USER $OPENCONNECT_OPTIONS $OPENCONNECT_URL elif [[ ! -z "${OPENCONNECT_PASSWORD}" ]] && [[ ! -z "${OPENCONNECT_MFA_CODE}" ]]; then # Multi factor authentication (MFA) - (echo $OPENCONNECT_PASSWORD; echo $OPENCONNECT_MFA_CODE) | openconnect -v -u $OPENCONNECT_USER $OPENCONNECT_OPTIONS --passwd-on-stdin $OPENCONNECT_URL + (echo $OPENCONNECT_PASSWORD; echo $OPENCONNECT_MFA_CODE) | openconnect -u $OPENCONNECT_USER $OPENCONNECT_OPTIONS --passwd-on-stdin $OPENCONNECT_URL elif [[ ! -z "${OPENCONNECT_PASSWORD}" ]]; then # Standard authentication - echo $OPENCONNECT_PASSWORD | openconnect -v -u $OPENCONNECT_USER $OPENCONNECT_OPTIONS --passwd-on-stdin $OPENCONNECT_URL + echo $OPENCONNECT_PASSWORD | openconnect -u $OPENCONNECT_USER $OPENCONNECT_OPTIONS --passwd-on-stdin $OPENCONNECT_URL fi