-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
[bug] panic when running moon docker setup
in Dockerfile
#1700
Comments
The generated dockerfile looks like so:
I added the last ENTRYPOINT, but that shouldn't change anything |
fwiw I have also tried
This task runs no problem outside docker |
Yeah that panic basically means there are no actions in the pipeline: https://github.com/moonrepo/moon/blob/master/crates/action-pipeline/src/action_pipeline.rs#L140 Something isn't right in the Dockerfile. Seems like critical config files are missing. If you run |
hmm it does not, it contains my package.json, moon.yml, tsconfig.json and .gitignore (but no source directories).
|
ah sorry, the source dir is under |
Can you pass Also, |
Describe the bug
I generated a dockerfile using
moon docker file <project>
. Building the resulting dockerfile panicsSteps to reproduce
moon docker setup projectName
docker build -f path/to/Dockerfile .
Expected behavior
dockerfile builds
Screenshots
Environment
Additional context
The text was updated successfully, but these errors were encountered: