google / seesaw

Seesaw v2 is a Linux Virtual Server (LVS) based load balancing platform.
Apache License 2.0
5.63k stars 511 forks source link

Introduce build inside the docker #5

Closed onorua closed 8 years ago

onorua commented 8 years ago

This should simplify adoption by the community, and may save couple of hours for new users who would like to just try the tool without additional efforts.

googlebot commented 8 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


onorua commented 8 years ago

I signed it!

googlebot commented 8 years ago

CLAs look good, thanks!

ibakirov commented 8 years ago

I suggest to use FROM debian:jessie rather than FROM ubuntu:* in this dockerfile, to be far away from any Canonical's IP Policy speculations...

By the way, Google CLAs also signed!

onorua commented 8 years ago

If that the reason to don't merge - I'll update the base image. Many projects use Ubuntu as base image which makes it better candidate to prevent downloading of the underlying layers.

bwahn commented 8 years ago

If seesaw run in docker, It may be would better add some command and explanation. For example, It may use like "$ docker run -d seesaw". @onorua Do you have some idea?

ibakirov commented 8 years ago

$ docker run -d seesaw can be done after Dockerfile accepted and official image on Hub published

onorua commented 8 years ago

I do not run seesaw in the docker, I do build of the packages without necessary installing anything on your host. That is why I call it "hack" the same way as kubernetes has it, if you want to hack around, you need to be able to build it. But I can work on running the seesaw inside the docker as well, if there is a need. But this most probably be another pull request.