-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add Dockerfile pt. 2 #124
Add Dockerfile pt. 2 #124
Commits on Jul 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8f840da - Browse repository at this point
Copy the full SHA 8f840daView commit details -
dockerfile - use local dir for build, set all envs
- instead of go-getting from GitHub, the binary is built from the source directory (assumed to be in the same directory as the Dockerfile) - set all `HOST_` required by gopsutil - alternatively, for faster development you can uncomment out the `# ADD grofer /go/bin/` to directly add the local `grofer` binary instead of building it inside the container everytime. If you see a GLIBC error on running the binary in the container, build it with `CGO_ENABLED=0 go build`
Configuration menu - View commit details
-
Copy full SHA for 3bf5b5d - Browse repository at this point
Copy the full SHA 3bf5b5dView commit details -
dockerfile - update README to use /host instead of /rootfs
the `HOST_` env vars are set to `/host` and not `/rootfs`, obviously that should not have worked lol
Configuration menu - View commit details
-
Copy full SHA for 3788593 - Browse repository at this point
Copy the full SHA 3788593View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22aa45b - Browse repository at this point
Copy the full SHA 22aa45bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2534a00 - Browse repository at this point
Copy the full SHA 2534a00View commit details -
dockerfile - add --network=host flag
this fixes wrong network stats issue
Configuration menu - View commit details
-
Copy full SHA for d6dbda3 - Browse repository at this point
Copy the full SHA d6dbda3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59ee9bc - Browse repository at this point
Copy the full SHA 59ee9bcView commit details -
dockerfile - add action to build and pub image
- publishes image to the GitHub docker registry (NOT GitHub container registry) - temporarily also includes containers for all PRs - this is only to test this in the PR - will be disabled in a later commit - testing with act fails due to the registry login step
Configuration menu - View commit details
-
Copy full SHA for d979331 - Browse repository at this point
Copy the full SHA d979331View commit details -
dockerfile - ghcr.io based workflow to publish img
- moved to the GitHub container registry since it supersedes the GitHub docker registry - act still fails, need to try on actual actions
Configuration menu - View commit details
-
Copy full SHA for 3099de3 - Browse repository at this point
Copy the full SHA 3099de3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5ad744 - Browse repository at this point
Copy the full SHA d5ad744View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14c9d7e - Browse repository at this point
Copy the full SHA 14c9d7eView commit details -
dockerfile - disable docker workflow on PRs
- this was only enabled for testing - it does not currently work for PRs that originate from forks - i.e., only internal branches work - commented it out in case it is needed later
Configuration menu - View commit details
-
Copy full SHA for 32d7331 - Browse repository at this point
Copy the full SHA 32d7331View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c3ddaf - Browse repository at this point
Copy the full SHA 3c3ddafView commit details