Dockerfile is incorrect
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 92/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker, dockerfile
- Domain
- build-system
Research direction
Start with the repository's Dockerfile and compare the download, checksum, and rename commands with the working version in the issue. Build the image to verify that the downloaded filename matches the checksum entry and that the resulting androidqf entrypoint remains executable.
Written by the indexing model from the issue text.
Description
Hi,
There's an issue in the Dockerfile: the file is downloaded and renamed at the same time, but the checksum computed afterward is looking for the original filename.
Here's a working version with the commands in the correct order:
FROM alpine:3.23.5@sha256:fd791d74b68913cbb027c6546007b3f0d3bc45125f797758156952bc2d6daf40
ARG TARGETARCH=amd64
ARG VERSION=1.8.3
RUN apk add --no-cache ca-certificates gcompat libgcc wget \
&& case "${TARGETARCH}" in \
amd64|arm64) ;; \
*) echo "unsupported TARGETARCH: ${TARGETARCH}" >&2; exit 1 ;; \
esac \
&& cd /usr/local/bin \
&& wget -O "androidqf_linux_${TARGETARCH}_${VERSION}" \
"https://github.com/mvt-project/androidqf/releases/download/v${VERSION}/androidqf_linux_${TARGETARCH}_${VERSION}" \
&& wget -O /tmp/checksums.txt \
"https://github.com/mvt-project/androidqf/releases/download/v${VERSION}/checksums.txt" \
&& grep " androidqf_linux_${TARGETARCH}_${VERSION}$" /tmp/checksums.txt | sha256sum -c - \
&& mv "androidqf_linux_${TARGETARCH}_${VERSION}" androidqf \
&& rm /tmp/checksums.txt \
&& chmod +x /usr/local/bin/androidqf
WORKDIR /acquisition
ENTRYPOINT ["androidqf"]
CMD ["-output", "/output"]
- Dominant language
- Go
- Stars
- 281
- Forks
- 48
- Avg merge
- 1h 28m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mvt-project/androidqf
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mvt-project/androidqf#130 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
mvt-project/androidqf#121 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
mvt-project/androidqf#102 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
mvt-project/androidqf#73 · 1 comment ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
mvt-project/androidqf#56 ·
All issues in mvt-project/androidqf
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100