Skip to content

Commit 5b6e0cd

Browse files
authored
Add file package to Docker image for better debugging (#578)
The Docker builds have been failing since June 2025 with the error: '/bin/bash: line 1: file: command not found' This error occurs when the SHA256 checksum verification fails and the Dockerfile attempts to run 'file' command to help debug what type of file was downloaded. However, the 'file' package is not installed in the debian:stable-slim base image. This commit adds the 'file' package to the apt-get install list so that when SHA256 verification fails, we can get better debugging information about what was actually downloaded (e.g., whether it's an HTML error page instead of the expected tar.xz file). While this doesn't fix the root cause of the SHA256 failures, it will provide better diagnostics to help identify the actual issue. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> Took 55 minutes
1 parent 00038b5 commit 5b6e0cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ENV PORT=34197 \
4343
SHELL ["/bin/bash", "-eo", "pipefail", "-c"]
4444

4545
RUN apt-get -q update \
46-
&& DEBIAN_FRONTEND=noninteractive apt-get -qy install ca-certificates curl jq pwgen xz-utils procps gettext-base --no-install-recommends \
46+
&& DEBIAN_FRONTEND=noninteractive apt-get -qy install ca-certificates curl jq pwgen xz-utils procps gettext-base file --no-install-recommends \
4747
&& if [[ "$(uname -m)" == "aarch64" ]]; then \
4848
echo "installing ARM compatability layer" \
4949
&& DEBIAN_FRONTEND=noninteractive apt-get -qy install unzip --no-install-recommends \

0 commit comments

Comments
 (0)