Giter VIP home page Giter VIP logo

Comments (3)

mriedmann avatar mriedmann commented on September 16, 2024 2

I finished my first draft on the new "multi-build" rewrite and was able to remove some "magic" from the build-scripts. The size of the new expirimental image is down to 98mb in 16 layer (1.2.8: 228mb in 21). The new version can be tested with the "experimental"-tag. The code resides (for now) in the "version-1.3"-branch

Please be aware that there are some side effects on this changes:

  • composer is not installed on the production image anymore. This improves size and security but could bring some problems during upgrades. We will see if a need for it arises. It can be installed by just adding a single line in the docker build-file.
  • all system-dependencies (php + modules) got revised. It is possible that some of the removed packages where there for a non-obvious reason.
  • because 1.3.x uses a different build process and has slightly different dependencies this new build process is incompatible to 1.2.x versions.
  • the base-image has been upgraded to alpine:3.8 (from 3.7) this results in a upgrade to php (7.1 -> 7.2) as well.
  • the app.log file has been added to supervisord and is now read (tail -f) to stderr. This could result in a massive growth of the docker-container-log, but was very helpful during bug hunting. If someone notices a negative performance impact this will be disabled again.

Besides this: The autoinstall-feature now uses a special command-controller to utilize the internal install routines of humhub. This opens the possibility to replace the built-in install-wizard completely. I am no yii/humhub developer, so I just implemented this out of the need for automated image testing. If someone would profit from a complete automated installation process please just open a issue!

I would really appreciate any tests on this new image before I release it to the wild (@pascalberger @bkmeneguello ?). Thanks to everyone for using/working on this image and as always: PR and feature-requests are highly welcomed!

from humhub-docker.

mriedmann avatar mriedmann commented on September 16, 2024 1

Just for the record: I am going to start working on this after my vacation (end of September). My plan for the new version is to use a Multi-Stage-Dockerfile. This will reduce the image-size and improves maintainability.

Some contribution, in form of PRs, comments or feature-requests, would be really helpful. It would be wonderful, if someone got an idea how to improve the "volume seeding" process.

from humhub-docker.

mriedmann avatar mriedmann commented on September 16, 2024

FYI: just updated "experimental" to new release 1.3.2
Image is currently rebuilding.

from humhub-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.