Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ioc: install busybox symbolic links. #72

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ RUN apt update -y && \
busybox \
netcat-openbsd \
procserv \
wget \
$([ -n "$RUNTIME_PIP_PACKAGES" ] && echo pip) \
$RUNTIME_PACKAGES && \
ln -s /bin/busybox /usr/bin/unzip && \
busybox --install && \
henriquesimoes marked this conversation as resolved.
Show resolved Hide resolved
apt clean && \
rm -rf /var/lib/apt/lists/*

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ Packages that strictly need to be installed via `pip` can be listed under the
Packages essential to all (or most) IOCs should be added to
[this repository's `Dockerfile`](./Dockerfile).

Extra files can also be downloaded and installed by listing their TAR or ZIP
archive URLs under `BUILD_TAR_PACKAGES` or `RUNTIME_TAR_PACKAGES`. To use HTTPS
(or any other TLS-based protocol), `ca-certificates` must also be added to
`RUNTIME_PACKAGES`.

The template above assumes the containers will be uploaded to the GitHub
registry.

Expand Down
2 changes: 1 addition & 1 deletion base/lnls-get-n-unpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for url; do
download_dir=$(mktemp -d)

echo Downloading "$url"...
wget -P $download_dir -o /tmp/wget.log "$url" || (cat /tmp/wget.log && false)
wget -P $download_dir "$url" &> /tmp/wget.log || (cat /tmp/wget.log && false)

filename=$(basename $download_dir/*)

Expand Down