Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Docker base image - 2.0

    Announcements
    6
    17
    721
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • girish
      girish Staff last edited by girish

      We have a new base image cloudron/base:2.0.0 with sha256 f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4.

      This is not an official release, it's still unstable. Just putting this out here so that you can test it out for your custom app or give some early feedback. Currently, we are testing this ourselves by building many of the existing apps and making sure it's all good. We are now official and stable.

      Changes:

      • Uses ubuntu bionic from 20200311
      • PHP 7.3
      • Python 2 and 3
      • Java 8
      • Ruby 2.5
      • Node 12.6.2 and 10.20.1
      • Go 1.14.2
      • Installs vim, nano and emacs
      • Persists bash history
      • Fixes vim issue with swap files not writable
      • Persists psql history

      Repo is at https://git.cloudron.io/cloudron/docker-base-image

      Hopefully, we can make it stable next week (but look out for the sha256).

      UPDATE: Use FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4 in future docker images.

      W 2 Replies Last reply Reply Quote 7
      • W
        will @girish last edited by

        @girish Have you considered alternate base images like Alpine? Ubuntu just seems so bloated for container infra.

        girish 1 Reply Last reply Reply Quote 1
        • W
          will @girish last edited by

          @girish Any news on updating the host version of Ubuntu to the latest ubuntu LTS? 18 is getting old.

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            @will isn't 18 the latest LTS? I think 20 is not even released yet. I will give it a good 3-6 months for all the apps to catch up and start supporting it after it's released.

            jdaviescoates W 2 Replies Last reply Reply Quote 1
            • girish
              girish Staff @will last edited by

              @will our approach is just being practical. Ubuntu is widely supported and has packages for everything. TBH, I think even our current ubuntu image can be size optimized a lot but we don't spend cycles optimizing for what is just a 1 time download into a Cloudron.

              1 Reply Last reply Reply Quote 1
              • ?
                A Former User last edited by

                Ubuntu 20.04 LTS (Focal Fossa) - Ubuntu version history - Wikipedia
                https://en.wikipedia.org/wiki/Ubuntu_version_history#2004

                1 Reply Last reply Reply Quote 0
                • jdaviescoates
                  jdaviescoates @girish last edited by

                  @girish said in Docker base image - 2.0 (unstable):

                  I think 20 is not even released yet.

                  20.04 is due to be released today...but so far hasn't appeared on https://ubuntu.com/download/desktop

                  1 Reply Last reply Reply Quote 1
                  • W
                    will @girish last edited by

                    @girish https://www.phoronix.com/scan.php?page=article&item=xeonr-ubu1804-2004&num=9

                    1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff last edited by

                      Very nice! The current base image still has to be bionic based though because I am guessing Focal will bump the version of all the databases. Database upgrade is always a nightmare but thankfully we have fully automated this during our 16 to 18 upgrade. Remains to be be seen if it works just like that for 18 to 20 now.

                      1 Reply Last reply Reply Quote 2
                      • ?
                        A Former User last edited by

                        20.04 LTS now released
                        https://ubuntu.com/#download

                        1 Reply Last reply Reply Quote 2
                        • girish
                          girish Staff last edited by

                          The winning sha256 is f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4.

                          So, just use

                          FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4

                          1 Reply Last reply Reply Quote 3
                          • robi
                            robi last edited by

                            Can we have a new thread for the new base image?

                            Life of Gratitude.
                            Life of Advanced Technology

                            girish 1 Reply Last reply Reply Quote 0
                            • girish
                              girish Staff @robi last edited by

                              @robi We haven't really started working on the new image. So, I am not sure what to put in a new thread. Have to investigate first what all needs to be updated etc.

                              robi d19dotca 2 Replies Last reply Reply Quote 0
                              • robi
                                robi @girish last edited by

                                @girish Ah, @nebulon mentioned it in another thread so I thought it was more actively worked on.. usage of docker-slim comes to mind..

                                Life of Gratitude.
                                Life of Advanced Technology

                                girish 1 Reply Last reply Reply Quote 0
                                • girish
                                  girish Staff @robi last edited by

                                  @robi We have been collecting changes slowly over the last few months - https://git.cloudron.io/cloudron/docker-base-image/-/commits/master but the image needs to be moved to Ubuntu 20 as well. Off my head, PHP should become 7.4 as well.

                                  1 Reply Last reply Reply Quote 3
                                  • d19dotca
                                    d19dotca @girish last edited by

                                    @girish I see in the latest Matomo update that you're using the new base image v3 now... Is this new image running on Ubuntu Focal now (20.04), or what's the big changes with 3.0 image?

                                    --
                                    Dustin Dauncey
                                    www.d19.ca

                                    girish 1 Reply Last reply Reply Quote 0
                                    • girish
                                      girish Staff @d19dotca last edited by

                                      @d19dotca Yes, correct. v3 uses focal. More info here - https://forum.cloudron.io/topic/4366/docker-base-image-3-0 . Will make an announcement when we update more apps.

                                      1 Reply Last reply Reply Quote 1
                                      • First post
                                        Last post
                                      Powered by NodeBB