[TS-548] Support running `get.sh` script on ARM machines
marvinruder opened this issue · comments
Marvin A. Ruder commented
(raising a new issue here because I cannot reopen the closed issue #327)
Operating System
Linux aaa9b2ded5ac 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:11:29 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
JDK
openjdk version "17.0.8" 2023-07-18
OpenJDK Runtime Environment Temurin-17.0.8+7 (build 17.0.8+7)
OpenJDK 64-Bit Server VM Temurin-17.0.8+7 (build 17.0.8+7, mixed mode, sharing)
Steps to reproduce
- Run
curl -Ls https://coverage.codacy.com/get.sh > /usr/local/bin/codacy-coverage
- Run
chmod +x /usr/local/bin/codacy-coverage
- Run
codacy-coverage --help
Expected Behavior
codacy-coverage
can be executed, help message is displayed.
Actual Behavior
/usr/local/bin/codacy-coverage: line 240: /root/.cache/codacy/coverage-reporter/13.13.7/codacy-coverage-reporter: cannot execute binary file: Exec format error
Reproducible Test Case
Build a container image using the following Dockerfile on an ARM architecture machine:
FROM eclipse-temurin:17-jre
# Download and extract Codacy coverage reporter
RUN \
curl -Ls https://coverage.codacy.com/get.sh > /usr/local/bin/codacy-coverage && \
chmod +x /usr/local/bin/codacy-coverage && \
codacy-coverage download && \
codacy-coverage --help
ENTRYPOINT [ "codacy-coverage" ]
github-actions commented
Internal ticket created : TS-548