Skip to content
Snippets Groups Projects
This project is mirrored from https://gitlab.com/gitlab-org/gitlab-omnibus-builder.git. Pull mirroring updated .
  1. Dec 15, 2017
    • Richard Clamp's avatar
      Use multi-stage for centos7 · 344be127
      Richard Clamp authored
      We lose intermediate layers, but win on complexity
      
      REPOSITORY                                                   TAG                                IMAGE ID            CREATED             SIZE
      centos_7_builder_slim                                        latest                             33a57d4eb3db        6 minutes ago       1.67GB
      dev.gitlab.org:5005/cookbooks/gitlab-omnibus-builder         centos_7-0.0.9                     9476567a1c71        4 days ago          2.27GB
      344be127
    • Richard Clamp's avatar
      Slim debian 7 too · b8570a94
      Richard Clamp authored
      From:
      REPOSITORY                                                   TAG                                IMAGE ID            CREATED                  SIZE
      registry.gitlab.com/gitlab-org/gitlab-omnibus-builder        debian_7-0.0.9                     8c5847961e76        4 days ago               1.63GB
      debian_7_builder_slim                                        latest                             12aabbb863dd        Less than a second ago   979MB
      b8570a94
    • Richard Clamp's avatar
      See how much space is being wasted in layers · 1ff08370
      Richard Clamp authored
      Looking at the history, we have a few fat layers.
      
      I remember a technique for making the layers smaller, which is basically
      to delete any working files you make during the process, by making the
      RUN steps big and long and have a rm or cache clean or whatever.
      
        $ docker history dev.gitlab.org:5005/cookbooks/gitlab-omnibus-builder:centos_6-0.0.9
        IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
        f62741de2a6e        4 days ago          /bin/sh -c rm -rf /tmp/*                        0B
        <missing>           4 days ago          /bin/sh -c git config --global user.name "...   56B
        <missing>           4 days ago          /bin/sh -c git config --global user.email ...   36B
        <missing>           4 days ago          /bin/sh -c mkdir -p /opt/gitlab /var/cache...   0B
        <missing>           4 days ago          /bin/sh -c mkdir /usr/local/yarn   && curl...   13.8MB
        <missing>           4 days ago          /bin/sh -c #(nop)  ENV YARN_VERSION=0.20.3      0B
        <missing>           4 days ago          /bin/sh -c curl -fsSL "https://nodejs.org/...   42.5MB
        <missing>           4 days ago          /bin/sh -c #(nop)  ENV NODE_VERSION=6.9.5       0B
        <missing>           4 days ago          /bin/sh -c /usr/local/bin/gem install bund...   1.4MB
        <missing>           4 days ago          /bin/sh -c #(nop)  ENV BUNDLER_VERSION=1.13.6   0B
        <missing>           4 days ago          /bin/sh -c /usr/local/bin/gem update --sys...   16.8MB
        <missing>           4 days ago          /bin/sh -c #(nop)  ENV RUBYGEMS_VERSION=2....   0B
        <missing>           4 days ago          /bin/sh -c curl -fsSL "https://cache.ruby-...   412MB
        <missing>           4 days ago          /bin/sh -c #(nop)  ENV RUBY_VERSION=2.3.5       0B
        <missing>           4 days ago          /bin/sh -c curl -fsSL "https://storage.goo...   273MB
        <missing>           4 days ago          /bin/sh -c #(nop)  ENV GO_VERSION=1.8.1         0B
        <missing>           4 days ago          /bin/sh -c curl -fsSL "https://www.kernel....   302MB
        <missing>           4 days ago          /bin/sh -c #(nop)  ENV GIT_VERSION=2.7.4        0B
        <missing>           4 days ago          /bin/sh -c pip install awscli                   46.1MB
        <missing>           4 days ago          /bin/sh -c curl -fsSL "http://python.org/f...   214MB
        <missing>           4 days ago          /bin/sh -c #(nop)  ENV PYTHON_VERSION=2.7.14    0B
        <missing>           4 days ago          /bin/sh -c localedef -c -f UTF-8 -i en_US ...   1.53MB
        <missing>           4 days ago          /bin/sh -c #(nop)  ENV LC_ALL=en_US.UTF-8       0B
        <missing>           4 days ago          /bin/sh -c #(nop)  ENV LANG=en_US.UTF-8         0B
        <missing>           4 days ago          /bin/sh -c yum install -y -q       gcc    ...   166MB
        <missing>           4 days ago          /bin/sh -c yum install -y epel-release          30.4MB
        <missing>           4 days ago          /bin/sh -c yum groupinstall -y Development...   358MB
        <missing>           4 days ago          /bin/sh -c yum update -y -q                     52.1MB
        <missing>           4 days ago          /bin/sh -c #(nop)  MAINTAINER GitLab Inc. ...   0B
        <missing>           2 weeks ago         /bin/sh -c #(nop)  CMD ["/bin/bash"]            0B
        <missing>           2 weeks ago         /bin/sh -c #(nop)  LABEL name=CentOS Base ...   0B
        <missing>           2 weeks ago         /bin/sh -c #(nop) ADD file:c32955e5fd79dfa...   194MB
      
      This might slim this down.
      1ff08370
  2. Dec 11, 2017
  3. Dec 07, 2017
  4. Dec 06, 2017
  5. Nov 24, 2017
  6. Nov 02, 2017
  7. Oct 24, 2017
  8. Sep 15, 2017
  9. Sep 14, 2017
  10. Aug 14, 2017
  11. Jul 13, 2017
  12. Jul 12, 2017
    • Jason Plum's avatar
      Add gnupg to Debian 9 · 8be136d5
      Jason Plum authored
      Debian 9 appear to be the only builder image that didn't have GnuPG (`gpg`) installed.
      
      Correct that
      8be136d5
  13. Jul 10, 2017
    • Marin Jankovski's avatar
      Merge branch '2569-lock-down-nodejs' into 'master' · 6e4caff8
      Marin Jankovski authored
      Docker: SLES: Lock nodejs version to matching
      
      Closes omnibus-gitlab#2569
      
      See merge request !54
      6e4caff8
    • Jason Plum's avatar
      Docker: SLES: Lock nodejs version to matching · 5aa0e9d9
      Jason Plum authored
      Bring SLES container in-line with the rest of the containers, in regards to the version of nodejs.
      
      ```
      $ docker run -ti 8770c06f4636 /bin/bash -l
      Directory: /
      Mon Jul 10 16:13:40 UTC 2017
      0c97a4876845:/ # which node
      /usr/local/bin/node
      0c97a4876845:/ # node --version
      v6.9.5
      0c97a4876845:/ # which npm
      /usr/local/bin/npm
      0c97a4876845:/ # npm version
      { npm: '3.10.10',
        ares: '1.10.1-DEV',
        http_parser: '2.7.0',
        icu: '57.1',
        modules: '48',
        node: '6.9.5',
        openssl: '1.0.2k',
        uv: '1.9.1',
        v8: '5.1.281.89',
        zlib: '1.2.8' }
      ```
      
      This was an oversight, and should not have been in the previous method.
      
      Closes https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2569
      5aa0e9d9
  14. Jul 08, 2017
  15. Jul 05, 2017
  16. Jun 29, 2017
  17. Jun 21, 2017
  18. Jun 13, 2017
  19. Jun 12, 2017
  20. Jun 06, 2017