🧱 Chunk is a download manager for slow and unstable servers

Docker image ships a non-executable archive instead of the CLI #15

Open cuducos.me
Open opened by cuducos.me

Problem

Dockerfile:5-6: COPY *.go . never copies cmd/, and go build -o /usr/bin/chunk at the module root builds the library package, which produces a non-executable ar archive.

Impact

The image cannot run chunk at all — CMD ["chunk"] fails.

Reproduction (verified)

Build output is !<arch>, not an ELF binary.

Suggested fix

COPY cmd/ and build ./cmd/chunk.

Sign up or Sign in to add to the discussion.