docker-compose fails on building conductor-ui image
See original GitHub issueHowdy - following the steps in the Architecture page, docker-compose up
exits with error on the Master branch and tag v2.27.1 when attemtping to build conductor-ui.
Step 8/11 : RUN cd /app/ui && npm install && npm run build --server
[...]
[10:27:11] Finished 'server-bundle' after 36 s
[10:27:12] The following tasks did not complete: build, <parallel>, public
[10:27:12] Did you forget to signal async completion?
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nf-workflow-ui@1.0.0 build: `gulp build --release`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nf-workflow-ui@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-05-26T10_27_12_441Z-debug.log
ERROR: Service 'conductor-ui' failed to build: The command '/bin/sh -c cd /app/ui && npm install && npm run build --server' returned a non-zero code: 1
I haven’t the foggiest why - I don’t know javascript or gulp. But I can avoid the problem by modifying ui/gulpfile.babel.js
in line with the recent changes to the gulpfile in d97f479b7.
diff --git a/ui/gulpfile.babel.js b/ui/gulpfile.babel.js
index 2b907fad..7dd660ae 100644
--- a/ui/gulpfile.babel.js
+++ b/ui/gulpfile.babel.js
@@ -124,7 +124,7 @@ gulp.task('styles', () => {
});
gulp.task('public', () => {
- gulp.src(paths.srcPublic).pipe(gulp.dest(paths.dist));
+ return gulp.src(paths.srcPublic).pipe(gulp.dest(paths.dist));
});
gulp.task('fonts', () => {
return gulp.src(paths.srcFonts).pipe(gulp.dest(`${paths.dist}/fonts`));
});
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Compose specification - Docker Documentation
Compose implementations without build support MUST fail when image is missing from the Compose file. init . init run an init process...
Read more >Netflix conductor server local docker container is unhealthy
Realized this after I learnt basics of Dockerfile . This was the reason for my unhealthy container. Then there were errors in building...
Read more >Marcos - Slipmp on Twitter: "I was able to make docker-compose up ...
docker -compose fails on building conductor-ui image · Issue #1707 · Netflix/conductor. Howdy - following the steps in the Architecture page, docker-compose ...
Read more >Installing via Docker Compose - Netflix Conductor
Running via Docker Compose. In this article we will explore how you can set up Netflix Conductor on your local machine using Docker...
Read more >netflix-conductor/community - Gitter
docker -compose for the netlfix conductor a ec2 linux instance fails with the following error. Its unable to build the conductor-ui build.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for reporting this @patrick-pt . I’ve create this PR to fix this: https://github.com/Netflix/conductor/pull/1733
2.25.9 also works