You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Benjamin Bannier <be...@mesosphere.io> on 2018/03/10 17:49:27 UTC

Review Request 66022: Based website-related Docker images on ubuntu16.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66022/
-----------------------------------------------------------

Review request for mesos, Armand Grillet and Vinod Kone.


Repository: mesos


Description
-------

We require a recent ruby version in order to build current version of
native ruby extensions required by the website generator setup.

Instead of manually installing non-upstream ruby versions with the
existing centos7-based website images, this patch changes the images
to be based on ubuntu16 instead which already contains a recent enough
ruby versions in the upstream repositories.

We also change the images to reuse the existing mesos-build images
instead of duplicating the image setup for these parts.


Diffs
-----

  site/Dockerfile 2dd9e288df51b50ce3553045c58be978ce0f3e8e 
  support/mesos-website/Dockerfile 4156eb4112060332bc62ab14d50a685cc7ee0348 


Diff: https://reviews.apache.org/r/66022/diff/1/


Testing
-------

Manually built the dev and jenkin images and verified that they contained all required tools.


Thanks,

Benjamin Bannier


Re: Review Request 66022: Based website-related Docker images on ubuntu16.

Posted by Benjamin Bannier <be...@mesosphere.io>.

> On March 12, 2018, 12:51 p.m., Alexander Rukletsov wrote:
> > site/Dockerfile
> > Lines 12 (patched)
> > <https://reviews.apache.org/r/66022/diff/1/?file=1973314#file1973314line12>
> >
> >     You likely want to add `--no-install-recommends` here as well, right?

I definitely want to, and now actually do.


- Benjamin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66022/#review199016
-----------------------------------------------------------


On March 12, 2018, 2:29 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66022/
> -----------------------------------------------------------
> 
> (Updated March 12, 2018, 2:29 p.m.)
> 
> 
> Review request for mesos, Armand Grillet and Vinod Kone.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> We require a recent ruby version in order to build current version of
> native ruby extensions required by the website generator setup.
> 
> Instead of manually installing non-upstream ruby versions with the
> existing centos7-based website images, this patch changes the images
> to be based on ubuntu16 instead which already contains a recent enough
> ruby versions in the upstream repositories.
> 
> We also change the images to reuse the existing mesos-build images
> instead of duplicating the image setup for these parts.
> 
> 
> Diffs
> -----
> 
>   site/Dockerfile 2dd9e288df51b50ce3553045c58be978ce0f3e8e 
>   support/mesos-website/Dockerfile 4156eb4112060332bc62ab14d50a685cc7ee0348 
> 
> 
> Diff: https://reviews.apache.org/r/66022/diff/2/
> 
> 
> Testing
> -------
> 
> Manually built the dev and jenkin images and verified that they contained all required tools.
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


Re: Review Request 66022: Based website-related Docker images on ubuntu16.

Posted by Alexander Rukletsov <ru...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66022/#review199016
-----------------------------------------------------------


Ship it!





site/Dockerfile
Lines 12 (patched)
<https://reviews.apache.org/r/66022/#comment279303>

    You likely want to add `--no-install-recommends` here as well, right?


- Alexander Rukletsov


On March 10, 2018, 5:49 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66022/
> -----------------------------------------------------------
> 
> (Updated March 10, 2018, 5:49 p.m.)
> 
> 
> Review request for mesos, Armand Grillet and Vinod Kone.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> We require a recent ruby version in order to build current version of
> native ruby extensions required by the website generator setup.
> 
> Instead of manually installing non-upstream ruby versions with the
> existing centos7-based website images, this patch changes the images
> to be based on ubuntu16 instead which already contains a recent enough
> ruby versions in the upstream repositories.
> 
> We also change the images to reuse the existing mesos-build images
> instead of duplicating the image setup for these parts.
> 
> 
> Diffs
> -----
> 
>   site/Dockerfile 2dd9e288df51b50ce3553045c58be978ce0f3e8e 
>   support/mesos-website/Dockerfile 4156eb4112060332bc62ab14d50a685cc7ee0348 
> 
> 
> Diff: https://reviews.apache.org/r/66022/diff/1/
> 
> 
> Testing
> -------
> 
> Manually built the dev and jenkin images and verified that they contained all required tools.
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


Re: Review Request 66022: Based website-related Docker images on ubuntu16.

Posted by Armand Grillet <ag...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66022/#review198990
-----------------------------------------------------------


Ship it!




Tested successfully using `mesos-website-dev.sh`. s/`ruby versions`/`ruby version` in the second paragraph of the commit message.

- Armand Grillet


On March 10, 2018, 5:49 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66022/
> -----------------------------------------------------------
> 
> (Updated March 10, 2018, 5:49 p.m.)
> 
> 
> Review request for mesos, Armand Grillet and Vinod Kone.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> We require a recent ruby version in order to build current version of
> native ruby extensions required by the website generator setup.
> 
> Instead of manually installing non-upstream ruby versions with the
> existing centos7-based website images, this patch changes the images
> to be based on ubuntu16 instead which already contains a recent enough
> ruby versions in the upstream repositories.
> 
> We also change the images to reuse the existing mesos-build images
> instead of duplicating the image setup for these parts.
> 
> 
> Diffs
> -----
> 
>   site/Dockerfile 2dd9e288df51b50ce3553045c58be978ce0f3e8e 
>   support/mesos-website/Dockerfile 4156eb4112060332bc62ab14d50a685cc7ee0348 
> 
> 
> Diff: https://reviews.apache.org/r/66022/diff/1/
> 
> 
> Testing
> -------
> 
> Manually built the dev and jenkin images and verified that they contained all required tools.
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


Re: Review Request 66022: Based website-related Docker images on ubuntu16.

Posted by Benjamin Bannier <be...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66022/
-----------------------------------------------------------

(Updated March 12, 2018, 2:29 p.m.)


Review request for mesos, Armand Grillet and Vinod Kone.


Changes
-------

Consistently used `--no-install-recommends` with installation.


Repository: mesos


Description
-------

We require a recent ruby version in order to build current version of
native ruby extensions required by the website generator setup.

Instead of manually installing non-upstream ruby versions with the
existing centos7-based website images, this patch changes the images
to be based on ubuntu16 instead which already contains a recent enough
ruby versions in the upstream repositories.

We also change the images to reuse the existing mesos-build images
instead of duplicating the image setup for these parts.


Diffs (updated)
-----

  site/Dockerfile 2dd9e288df51b50ce3553045c58be978ce0f3e8e 
  support/mesos-website/Dockerfile 4156eb4112060332bc62ab14d50a685cc7ee0348 


Diff: https://reviews.apache.org/r/66022/diff/2/

Changes: https://reviews.apache.org/r/66022/diff/1-2/


Testing
-------

Manually built the dev and jenkin images and verified that they contained all required tools.


Thanks,

Benjamin Bannier