purpleworks / fleet-ui

Web based UI for fleet
http://fleetui.com/
MIT License
233 stars 39 forks source link

Failed to build the the docker image #12

Closed xuwang closed 9 years ago

xuwang commented 9 years ago

Trying to build the docker image by following the README. Somehow the angular/dist folder never gets created/built, and the following step would fail because angular/dist doesn't exit:

ADD angular/dist /root/fleet-ui/public

The build environment is wheeze, BTW, if that matters.

Any idea why?

DorianGray commented 9 years ago

I had the same issue. You need to do several things that are not in the README. Run grunt build in the angular folder.

xuwang commented 9 years ago

@DorianGray you are right. There a lot more steps depending on what platform one uses to build, but we have docker come to rescue! I built a docker-fleetui-builder docker which is an image contains all necessary tools including docker daemon and use that to build the 'fleet-ui". See README here:

https://github.com/xuwang/docker-fleetui-builder

I have tested it with a fork of purpleworks/fleet-ui. Should work because the docker image doesn't depend on what OS host you are on.

subicura commented 9 years ago

@xuwang Hi! I'm sorry about README file. I'll improve document as soon as possible. See https://github.com/purpleworks/fleet-ui/issues/5 issue.

And your docker-fleetui-builder repository is awesome! Thank you.

subicura commented 9 years ago

Close this issue. Please let me know, if you need any help!