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

ba generate fails on mint18 #41

Closed
corpr8 opened this issue Dec 31, 2017 · 3 comments
Closed

ba generate fails on mint18 #41

corpr8 opened this issue Dec 31, 2017 · 3 comments

Comments

@corpr8
Copy link

corpr8 commented Dec 31, 2017

ba generate nodejs
  ├ version: v0.0.9
  └ Failed to execute command
    ├ command: generate
    └ ba build failed
      └ Unknown flag: from
@corpr8
Copy link
Author

corpr8 commented Dec 31, 2017

To be a bit more helpful:

Step 9/11 : COPY --from=0 /tmp/node_modules /usr/app/node_modules

❌ An error occurred.

ba generate nodejs
├ version: v0.0.9
└ Failed to execute command
├ command: generate
└ ba build failed
└ Unknown flag: from

ls /usr/app
ls: cannot access '/usr/app': No such file or directory

ls /tmp/node_modules
ls: cannot access '/tmp/node_modules': No such file or directory

node --version
v9.2.1

4.4.0-21-generic #37-Ubuntu

@xtuc
Copy link
Member

xtuc commented Dec 31, 2017

What version of Docker are you using? It seems that it doesn't support the multi-stage build Dockerfile we use here.

Could you please update it to v17.05 or higher?

@corpr8
Copy link
Author

corpr8 commented Dec 31, 2017

That's got it - thanks, Happy new year 👍

@corpr8 corpr8 closed this as completed Dec 31, 2017
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

No branches or pull requests

2 participants