GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: add entrypoint to Dockerfiles by enocom · Pull Request #1298 · GoogleCloudPlatform/cloud-sql-proxy

Conversation

@enocom

@enocom enocom commented Aug 5, 2022

Copy link
Copy Markdown
Member

Fixes #1296.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@enocom
fix: add entrypoint and cmd to Dockerfiles
47040ff
Fixes #1296.
@enocom
enocom requested a review from a team August 5, 2022 15:39
@enocom enocom changed the title fix: add entrypoint and cmd to Dockerfiles fix: add entrypoint to Dockerfiles Aug 5, 2022
kurtisvg
kurtisvg approved these changes Aug 9, 2022
View reviewed changes
Comment thread Dockerfile
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"]

@kurtisvg kurtisvg Aug 9, 2022

Copy link
Copy Markdown
Contributor

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.

All reactions

@hessjcg hessjcg Aug 10, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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.

All reactions

@enocom enocom Aug 10, 2022

Copy link
Copy Markdown
Member Author

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.

Thanks @hessjcg.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@enocom
enocom merged commit 1e31c96 into v2 Aug 10, 2022
@enocom
enocom deleted the dockerfile-fixes branch August 10, 2022 20:45
enocom added a commit that referenced this pull request Aug 23, 2022
@enocom
fix: add entrypoint and cmd to Dockerfiles (#1298)
c86adf7
Fixes #1296.
enocom added a commit that referenced this pull request Aug 29, 2022
@enocom
fix: add entrypoint and cmd to Dockerfiles (#1298)
63d280b
Fixes #1296.
@release-please release-please Bot mentioned this pull request Aug 29, 2022
chore(main): release 2.0.0-preview.1 #1334
Merged
enocom added a commit to GoogleCloudPlatform/alloydb-auth-proxy that referenced this pull request Sep 13, 2022
@enocom
fix: add entrypoint to Dockerfiles
2c2db92
This is a port of  GoogleCloudPlatform/cloud-sql-proxy#1298.
@enocom enocom mentioned this pull request Sep 13, 2022
fix: add entrypoint to Dockerfiles GoogleCloudPlatform/alloydb-auth-proxy#128
Merged
enocom added a commit to GoogleCloudPlatform/alloydb-auth-proxy that referenced this pull request Sep 21, 2022
@enocom
fix: add entrypoint to Dockerfiles (#128)
1d03b71
This is a port of  GoogleCloudPlatform/cloud-sql-proxy#1298.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hessjcg hessjcg hessjcg left review comments
+1 more reviewer
@kurtisvg 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

Labels

None yet

Projects

None yet

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.

3 participants

@enocom @kurtisvg @hessjcg
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.