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

Bump Dockerfile to 11.22 #108

Merged
merged 1 commit into from
Dec 31, 2021
Merged

Bump Dockerfile to 11.22 #108

merged 1 commit into from
Dec 31, 2021

Conversation

RandallKent
Copy link
Contributor

No description provided.

@RandallKent RandallKent changed the title Bump to 11.22 Bump Dockerfile to 11.22 Dec 31, 2021
RandallKent referenced this pull request Dec 31, 2021
  - Add speed camera version to Dockerfile
  - Better resliance on docker image upgrade
  - Increased verbosity in run script
@pageauc pageauc merged commit ba4a27a into pageauc:master Dec 31, 2021
@mlapaglia
Copy link

this appears to have built an arm64 version of the code? can it also build amd64 so i can use it? https://hub.docker.com/r/randallkent/speed-camera/tags

@RandallKent
Copy link
Contributor Author

@mlapaglia - Whoops! Recently got a M1 Mac and didn't think of it. Just rebuilt the image for multiple platforms.

@pageauc
Copy link
Owner

pageauc commented Jan 4, 2022

Randall

I finally upgraded my Texas PC to Windows 10 and was looking to test docker install for speed-camera. Noticed in the Dockerfile on github still showing Gnuplot instead of matplotlib so I updated the file and pushed to repo. I am guessing your intention is to just use python3 for docker. I agree with this. If that is the case then the webserver3.py should be used instead of webserver.py or webserver3.py copied over webserver.py. Also not sure if menubox.sh can be run from the docker. This is a whiptail menu system.

Also do you have an email address or way to communicate via speed camera repo other than using a previous issue to communicate.
Thanks Claude ...
Claude ...

@RandallKent
Copy link
Contributor Author

Hey @pageauc -

When I initially got the Docker image up and running and when I bumped the version in the image on dockerhub, I did not do an incredibly deep analysis of speed camera's source nor any optimizations on the Docker image. There are likely several things that can/should be done to improve performance and ensure things are running as you expect them to.

For collaborating I'd love to do as much of it in public as possible so the rest of the speed camera community can jump in and help. To do this, I'd suggest creating GitHub Issues for each of the area's you'd like to dig into. For example:

  1. "Use matplotlib instead of Gnuplot in Docker Image"
  2. "Ensure Docker Image uses python3 consistently"
  3. "Evaluate necessity of whiptail menu system in Docker Image"

Each issue will provide a space for discussion. When code changes are necessary, Pull requests can be made. Some guidelines for Pull Requests inspired by Cypress' Contributing doc...

  • Break down pull requests into the smallest necessary parts to address the original issue or feature. This helps you get a timely review and helps the reviewer clearly understand which pieces of the code changes are relevant.
  • When opening a PR for a specific issue already open, please name the branch you are working on using the convention issue-[issue number]. For example, if your PR fixes Issue #803, name your branch issue-803. If the PR is a larger issue, you can add more context like issue-803-new-scrollable-area. If there's not an associated open issue, create an issue.
  • PR's can be opened before all the work is finished. In fact we encourage this! Please create a Draft Pull Request if your PR is not ready for review. Mark the PR as Ready for Review when you're ready for a team member to review the PR.
  • Prefix the title of the Pull Request using semantic-release's format as defined here. For example, if your PR is fixing a bug, you should prefix the PR title with fix:.
  • Please check the "Allow edits from maintainers" checkbox when submitting your PR. This will make it easier for the maintainers to make minor adjustments, to help with tests or any other changes we may need.
  • After the PR is approved, the original contributor can merge the PR (if the original contributor has access).
  • When you merge a PR into develop, select Squash and merge. This will squash all commits into a single commit.

For more real-time communication, Discord seems to be a popular choice these days. I've created a Discord Server for Speed Camera which can be joined via https://discord.gg/dGPUWK8b

-Randall

@pageauc
Copy link
Owner

pageauc commented Jan 4, 2022 via email

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