Skip to content
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 Support #14

Closed
Cysime opened this issue Jan 2, 2024 · 4 comments · Fixed by #16
Closed

ARM64 Support #14

Cysime opened this issue Jan 2, 2024 · 4 comments · Fixed by #16
Labels
enhancement New feature or request

Comments

@Cysime
Copy link

Cysime commented Jan 2, 2024

Hi,

Thanks for this implement of sync API for Tabby.
I found that this project is not ARM64 ready by default, but it's quite easy to add the ARM64 support.

All we need to do is clone the project, uncomment the build section in docer-compose file, and modify the Dockerfile, change x86_64 into aarch64, and it runs smoothly without any issue.

# syntax=docker/dockerfile:1
FROM rust:1.73-alpine AS builder
WORKDIR /build
COPY . .
RUN apk add --no-cache build-base && \
    cargo build --target=aarch64-unknown-linux-musl --release --no-default-features -F sqlite-bundle

FROM scratch

WORKDIR /config

COPY --from=builder /build/target/aarch64-unknown-linux-musl/release/rtabby-web-api /
COPY --from=builder /build/users.exemple.yml .

CMD ["/rtabby-web-api"]
@Clem-Fern
Copy link
Owner

Hey,

Could be great to have arm platform directly available in the package registry. I will try to add this in the current build workflow :)

@Clem-Fern Clem-Fern added the enhancement New feature or request label Jan 8, 2024
@Clem-Fern Clem-Fern mentioned this issue Mar 10, 2024
@Clem-Fern
Copy link
Owner

Hi @Cysime,

I added arm64 platform in CI. Build in progress.
Could you please make me a feedback ? I don't have any arm device to test :/

@Clem-Fern Clem-Fern reopened this Mar 10, 2024
@bigwave
Copy link

bigwave commented Mar 21, 2024

Works for me on Raspberry Pi 4 Model B Rev 1.5

@Clem-Fern
Copy link
Owner

Works for me on Raspberry Pi 4 Model B Rev 1.5

@bigwave Thank's for the feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants