Skip to content

Commit

Permalink
Take out show-progress from wget, add in section about how to run in …
Browse files Browse the repository at this point in the history
…README
  • Loading branch information
pflooky committed Jun 6, 2024
1 parent 27e3321 commit a95bbf1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions server/Dockerfile.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit a95bbf1

Please sign in to comment.