-
-
Notifications
You must be signed in to change notification settings - Fork 778
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
ER: New Developers with Mac processors are having problems running docker image #5644
Comments
This comment was marked as resolved.
This comment was marked as resolved.
Sophia Bui Fang Fang Sophia Bui Sophia Bui Fang Homero Ochoa Fang Fang Sophia Bui Roslyn Wythe @Homero Ochoa https://github.com/[hackforla/website](https://github.com/hackforla/website)|hackforla/websitehackforla/website | Oct 1st | Added by GitHub jason wong Sophia Bui jason wong Sophia Bui jason wong jason wong Sophia Bui Fang jason wong Roslyn Wythe jason wong image.png jason wong Roslyn Wythe Roslyn Wythe jason wong Fang Roslyn Wythe Fang |
@ExperimentsInHonesty Please approve for issue making (should I have applied |
@roslynwythe For additional context, Eric V. Created the docker image, and the bot that is supposed to maintain it. It looks like it has stopped running. Here is the WIKI file on ops that details where all the files are and how the update bot works. So that someone can start the journey to see why the updates stopped happening and what next steps are to get the docker image up to date and make sure the bot starts running again. I have added updating this to the list of solutions above. I am ready to prioritize this if you sign off on the way I have restructured the potential solutions. I changed it from
to
|
the bot likely stopped running because
https://docs.github.com/en/actions/using-workflows/disabling-and-enabling-a-workflow |
@ExperimentsInHonesty Yes that looks good. It would be great to have all three options available. |
Great catch! 😃 I think a possible solution would be to have a GHA (GitHub Action) in the hackforla/website repo run every 60 days to update a file in the danielridgebot/check-ghpages-versions repo. This file could just have something like "Last update" and then the date. |
There is a solution to the problem of the disabled workflow - "Keep-Alive Workflow", see https://github.com/marketplace/actions/keepalive-workflow |
Thanks to @jaasonw for information regarding the multi-platform image Potential SolutionsWe should make issues (if feasible) as follows:
|
In case this is useful, here's how I used Docker Buildx action in a similar project. |
LGTM |
Hi @roslynwythe, thank you for taking up this issue! Hfla appreciates you :) Do let fellow developers know about your:- You're awesome! P.S. - You may not take up another issue until this issue gets merged (or closed). Thanks again :) |
@fyliu Hi Fang, I'm writing the issues now to keep the Daniel Ridge bot alive and to update the Docker file so it supports multiple platforms. I'm looking at the Docker file documentation https://docs.docker.com/build/building/multi-platform/ and I need to select the specific architecture. I know mac M1 is arm-based but which specific architecture should we specify? And should we support additional architectures, aside from x86_64 ? Thanks for your expertise, we really appreciate it! |
In the repo I worked on above, I only chose the the most common platforms arm64 (Mac m1 and newer) and amd64 (intel Mac and most PCs). I was working on it at the time this issue came up and decided to add the support because of this. There might be other useful platforms like Chrome/netbook or surface tablets, and raspberrypi 4 and above. I don't know if they're some different arm platforms. I kind of decide to leave it as an example in the code and someone can add more when needed. |
All the issue necessary for this ER to be resolved are written |
Dependencies (Issues created from this ER)
Emergent Requirement - Problem
A new developer with a Mac running M1 is unable to run docker using the hfla ghpages docker image
Issue you discovered this emergent requirement in
Date discovered
9/12
Did you have to do something temporarily
Who was involved
@sophia-bui @fyliu @homeroochoa47
What happens if this is not addressed
Some Mac users will be unable to run docker
Resources
Recommended Action Items
Potential solutions [draft]
We may do a variety of solutions, not just one. We should make issues (if feasible) for each.
Solution 1 (preferred)
Solution 2
Solution 3
The text was updated successfully, but these errors were encountered: