-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[arm64] exec format error #4
Comments
Let me look into that... what method were you using to run? In the meantime,the Cargo crate should work fine on Arm-based systems. # Get latest version of rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Install AdGuardian
cargo install adguardian
# Start the app
adguardian |
docker container |
Maybe an issue with the libc, i tried the binary on an OpenWRT running adguardhome, but as adguardian is linked to the libc linker, it won't start on openwrt ( which uses musl libc). I'll see if i can build a musl version of Adguardian ( or maybe if you have time ?) See:
|
I've made you ARMv7 and ARM64 binaries, will be in the latest release: https://github.com/Lissy93/AdGuardian-Term/releases/tag/1.2.0 And I'll look into the Docker image this evening.... |
The Dockerfile is pretty minimal, it's more likely an issue with the way the container is built and tagged on the registry, which is done with this workflow. Lines 3 to 13 in 52a4cbf
|
If helpful, here is more info from trying to run via Docker on a Raspberry Pi:
PS. Neat looking project! |
I could be wrong here, but I do not see QEMU in |
If anyone's more experienced with Docker and GH actions than me, I could do with some help with this one.
Using the following Dockerfile on a Raspberry Pi # Build application - Copy assets, install deps and compile binary
FROM rust:1.69.0-alpine AS builder
RUN apk add --no-cache pkgconfig openssl openssl-dev musl-dev
WORKDIR /usr/src/adguardian
COPY . .
RUN cargo build --release
# Run application - Using lightweight base, execute the binary
FROM scratch
COPY --from=builder /usr/src/adguardian/target/release/adguardian /
ENTRYPOINT ["/adguardian"]
Gives me this output:
|
i have the same issue when trying to install with cargo, and when i tried to used git clone:
but Also, not to be that kind of person but to use I did also noticed that Adguardian is taking alot of resources, processor at 20% compared to 3% when not using adguardian, and heat gone up a few Celsius when running adguardian. Love the idea, just hope this will be improved in the future :) |
amd64 works fine
The text was updated successfully, but these errors were encountered: