From a95bbf17efa913c1a70ec4032318b0e63b3c138e Mon Sep 17 00:00:00 2001 From: Flook Peter Date: Thu, 6 Jun 2024 20:01:57 +0800 Subject: [PATCH] Take out show-progress from wget, add in section about how to run in README --- README.md | 8 ++++++++ server/Dockerfile.ftl | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f3bff42..2c07a30 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ +# Cassandra Docker + +Allowing for multi-platform images for dse-server via GitHub actions. + +```shell +./docker-build.sh +``` + # Contents * [Quick Reference](#quick-reference) diff --git a/server/Dockerfile.ftl b/server/Dockerfile.ftl index a29d5f5..90cb7f2 100644 --- a/server/Dockerfile.ftl +++ b/server/Dockerfile.ftl @@ -36,13 +36,13 @@ COPY /* / RUN set -x \ # Download DSE tarball if needed - && if test ! -e /${TARBALL}; then wget -nv --show-progress --progress=bar:force:noscroll -O /${TARBALL} ${DOWNLOAD_URL} ; fi \ + && if test ! -e /${TARBALL}; then wget -nv -O /${TARBALL} ${DOWNLOAD_URL} ; fi \ # Unpack tarball && tar -C "$DSE_HOME" --strip-components=1 -xzf /${TARBALL} \ && rm /${TARBALL} \ && chown -R dse:dse ${DSE_HOME} \ # Download Agent tarball if needed - && if test ! -e /${DSE_AGENT_TARBALL}; then wget -nv --show-progress --progress=bar:force:noscroll -O /${DSE_AGENT_TARBALL} ${DSE_AGENT_DOWNLOAD_URL} ; fi \ + && if test ! -e /${DSE_AGENT_TARBALL}; then wget -nv -O /${DSE_AGENT_TARBALL} ${DSE_AGENT_DOWNLOAD_URL} ; fi \ && mkdir -p "$DSE_AGENT_HOME" \ && tar -C "$DSE_AGENT_HOME" --strip-components=1 -xzf /${DSE_AGENT_TARBALL} \ && rm /${DSE_AGENT_TARBALL}