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

Use ENTRYPOINT instead of CMD in Dockerfiles #401

Merged
merged 1 commit into from
Feb 24, 2025
Merged

Conversation

pondzix
Copy link
Contributor

@pondzix pondzix commented Feb 24, 2025

So that we can provide command line arguments when running docker image.

This command (enable profiling):

docker run --rm -e ACCEPT_LIMITED_USE_LICENSE=true snowplow/snowbridge:3.2.0 --profile

doesn't work with CMD. It works with ENTRYPOINT

So that we can provide command line arguments when running docker image.

This command (enable profiling):

```
docker run --rm -e ACCEPT_LIMITED_USE_LICENSE=true snowplow/snowbridge:3.2.0 --profile
```

doesn't work with `CMD`. It works with `ENTRYPOINT`
@pondzix pondzix merged commit 5a5e8de into develop Feb 24, 2025
1 check passed
@pondzix pondzix deleted the dockerfile_entrypoint branch February 24, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants