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

Add geoip user to drop root privileges #200

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

selyx
Copy link
Contributor

@selyx selyx commented Jan 18, 2023

Build container without requiring root privileges. Background is we're trying to run it in kubernetes with the restricted PodSecurityStandard policy enforced.

@oschwald
Copy link
Member

Thanks!

@oschwald oschwald merged commit eb6bde2 into maxmind:main Jan 18, 2023
oschwald added a commit that referenced this pull request Jan 18, 2023
oschwald added a commit that referenced this pull request Jan 18, 2023
@oschwald
Copy link
Member

oschwald commented Mar 15, 2023

This is interfering with how we build the Docker images for release and will need to be reverted for the next release. Couldn't you run the image as non-root without this? #142 seems related.

oschwald added a commit that referenced this pull request Mar 15, 2023
…tainer"

This reverts commit eb6bde2, reversing
changes made to 6690153.
@oschwald oschwald mentioned this pull request Mar 15, 2023
oschwald added a commit that referenced this pull request May 5, 2023
5.1.0

* Fixed the Docker health-check script to use the correct time of
  the last update attempt. Reported by cford1080. GitHub #225.
* Added new `--output` flag to print JSON to standard output describing
  the result of the run.
* Compilation with Go versions before 1.19 is no longer supported.
* When using the provided Docker images, `geoipupdate` no longer runs
  as root in the container. Based on pull request by Andreas
  Grünenfelder. GitHub #200.
@oschwald
Copy link
Member

oschwald commented May 5, 2023

After addressing some build issues, a version of your PR was part of the 5.1.0 release. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants