Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docker-entrypoint.sh: enable XTRACE if ENTRYPOINT_XTRACE environment …#1302

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
jan-matejka wants to merge1 commit intodocker-library:master
base:master
Choose a base branch
Loading
fromjan-matejka:f/xtrace

Conversation

jan-matejka
Copy link

…variable is non-empty

@tianon
Copy link
Member

I usually just dodocker run ... bash -x docker-entrypoint.sh ... when I need this 😅

@jan-matejka
Copy link
Author

I usually just dodocker run ... bash -x docker-entrypoint.sh ... when I need this 😅

  1. That will not be effective throughexec gosu ...
  2. GHA do not allow to override CMD from argv so you have to build a custom image for that.

@tianon
Copy link
Member

The simplest workaround for 1. is to use--user (which is a good idea anyhow), and the simplest workaround for 2. is to userun: docker run ... instead ofhttps://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idservices (which is just combining the YAML arguments into adocker run command for you).

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@jan-matejka@tianon

[8]ページ先頭

©2009-2025 Movatter.jp