Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

[ Do Not Merge ] Test to see if Treavis can handle dockers experimental flags. #375

Closed
wants to merge 21 commits into from

Conversation

jbygdell
Copy link

@jbygdell jbygdell commented Nov 27, 2018

Describe the pull request:

  • Bug fix
  • Functional change
  • New feature
  • Code cleanup
  • Build system change
  • Documentation change
  • Language translation

Pull request long description:

This changes the way we build our docker images, by using staged builds we will get
significantly smaller images.

EGA-OS: rebuilds every 30 days in order to have an updated base image to work from.
EGA-INBOX: include the parts that where previously in the ega-openssh container.
EGA-BASE: Use staged build to produce a smaller image.

Changes made:

Related issues:

Additional information:

Release note:

Documentation change:

Mentions:

Centos have a tendency to  lag behind when it comes to creating updated images. To get around that we create our own base image from scratch and make sure that it is fully up to date.
The base image that we use as base build for all the other containers should be rebuilt monthly to make sure that it is as up to date as possible.
The os image needs to be built without caching as we are now producing our own base image.
@blankdots blankdots added the DONT MERGE For PRs opened for discussion that are not ready to merge yet label Nov 27, 2018
@jbygdell jbygdell force-pushed the feature/jocke branch 3 times, most recently from 52c6ef5 to 0b91181 Compare November 27, 2018 11:51
Makefile needs to be tab indented, only use spaces for alignment
Our new way of building the os image requires that docker is run with the experimental features activated.
@jbygdell jbygdell force-pushed the feature/jocke branch 5 times, most recently from cd4185c to 856b4b1 Compare November 28, 2018 07:17
There is no need to build the inbox via the open-ssh container, it only makes things more complex and will result in failure to rebuild the inbox if the open-ssh container gets updated.
With the updates to the build process for the inbox we no longer need the open-ssh container.
Do a staged build for the lega-base container that way we don't need to have the build environment in the final container.
@jbygdell jbygdell force-pushed the feature/jocke branch 2 times, most recently from 3dc60e4 to bba62e0 Compare November 28, 2018 10:37
@jbygdell jbygdell closed this Jan 26, 2019
@viklund viklund deleted the feature/jocke branch December 16, 2019 13:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
DONT MERGE For PRs opened for discussion that are not ready to merge yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants