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

Support for arm32v7 arch #284

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Support for arm32v7 arch #284

wants to merge 10 commits into from

Conversation

ramosisw
Copy link

update ci-official.yml to build docker image that supports arm-arch

  • Support for arm architecture

actual build https://dev.azure.com/ramosisw/BaGet/_build/results?buildId=135
actual docker images https://cloud.docker.com/repository/docker/ramosisw/baget

EXPOSE 80

COPY /src/BaGet/publish/arm .
ENTRYPOINT ["dotnet", "BaGet.dll"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't build this Dockerfile without first installing all the development dependencies (like .NET SDK, NPM, etc..). The default Dockerfile manages all that for you so that you don't have to worry about it. Could you follow the model of the default dockerfile instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course I could follow the default model of docker, but if I did not have the sources I could not compile the dockerfile, just try to make a solution that runs on architecture of x86_64 (DevOps) and generate an image for arm32v7.

I already tried the model, but I did not succeed, and that is how I achieved it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm Sorry, this dockerfile is for the job that i added, and not for existed Docker Job

@volkanpaksoy
Copy link

I think it would be great if BaGet supported ARM processors. I was hoping to run it on a Raspberry Pi.

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

Successfully merging this pull request may close these issues.

3 participants