Skip to content

Commit

Permalink
Fixing linter errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-i-berry committed Aug 19, 2024
1 parent 2ac5fec commit 3cbd0dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ENV WIS2DOWNLOADER_CONFIG "/app/config/config.json"
# Update / upgrade
RUN apt-get update && \
apt-get upgrade && \
apt-get install -y gettext-base curl
apt-get install -y gettext-base=0.21-12 curl=7.88.1

# install python dependencies
RUN python -m pip install --no-cache-dir gunicorn==23.0.0 requests==2.32.3 wis2downloader==0.3.0
Expand Down
4 changes: 2 additions & 2 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ if [ ! -f "$DOWNLOAD_DIR/.session-info.json" ]; then
echo ' "topics": {},' >> "$DOWNLOAD_DIR/.session-info.json"
# generate a random string for client_id
echo "Generating random client_id"
set client_id = $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
echo ' "client_id": "wis2box-wis2downloader-$(client_id)"' >> "$DOWNLOAD_DIR/.session-info.json"
client_id = $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
echo ' "client_id": "wis2box-wis2downloader-'"$(client_id)"'"' >> "$DOWNLOAD_DIR/.session-info.json"
echo "}" >> "$DOWNLOAD_DIR/.session-info.json"
fi

Expand Down

0 comments on commit 3cbd0dc

Please sign in to comment.