Closed marvinruder closed 11 months ago
(raising a new issue here because I cannot reopen the closed issue #327)
Linux aaa9b2ded5ac 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:11:29 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
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)
curl -Ls https://coverage.codacy.com/get.sh > /usr/local/bin/codacy-coverage
chmod +x /usr/local/bin/codacy-coverage
codacy-coverage --help
codacy-coverage can be executed, help message is displayed.
codacy-coverage
/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
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" ]
Internal ticket created : TS-548
(raising a new issue here because I cannot reopen the closed issue #327)
Operating System
JDK
Steps to reproduce
curl -Ls https://coverage.codacy.com/get.sh > /usr/local/bin/codacy-coverage
chmod +x /usr/local/bin/codacy-coverage
codacy-coverage --help
Expected Behavior
codacy-coverage
can be executed, help message is displayed.Actual Behavior
Reproducible Test Case
Build a container image using the following Dockerfile on an ARM architecture machine: