question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker-compose fails on building conductor-ui image

See original GitHub issue

Howdy - 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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kishorebanalacommented, Jun 9, 2020

Thanks for reporting this @patrick-pt . I’ve create this PR to fix this: https://github.com/Netflix/conductor/pull/1733

0reactions
reidlaicommented, Jun 4, 2020

I was able to overcome this error by checking out tag/v2.25.8 then executing docker-compose up for serverAndUI. Suggestion provided here: #1685

2.25.9 also works

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found