GeezerVison is showing github.com — fix: add entrypoint to Dockerfiles by enocom · Pull Request #1298 · GoogleCloudPlatform/cloud-sql-proxy
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
enocom
changed the title
fix: add entrypoint and cmd to Dockerfiles
fix: add entrypoint to Dockerfiles
Aug 5, 2022
|
|
COPY --from=build --chown=nonroot /go/src/cloudsql-proxy/cloud_sql_proxy /cloud_sql_proxy
|
|
|
# set the uid as an integer for compatibility with runAsNonRoot in Kubernetes
|
|
|
USER 65532
|
|
|
ENTRYPOINT ["/cloud_sql_proxy"]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double check: this can be overridden in all of the usual environments (docker, podman, k8s, etc)?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
hessjcg
Aug 10, 2022
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Docker: yes
docker run --entrypoint
- Podman: yes, works like docker
- K8s: yes
"container": {"command": "/bin/sh"} container api doc
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
enocom
added a commit
to GoogleCloudPlatform/alloydb-auth-proxy
that referenced
this pull request
Sep 13, 2022
enocom
added a commit
to GoogleCloudPlatform/alloydb-auth-proxy
that referenced
this pull request
Sep 21, 2022
Reviewers
hessjcg
hessjcg left review comments
+1 more reviewer
kurtisvg
kurtisvg approved these changes
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.