Comments (3)
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.
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.
FYI: just updated "experimental" to new release 1.3.2
Image is currently rebuilding.
from humhub-docker.
Related Issues (20)
- Unable to connect to 'db' HOT 5
- 502 Bad Gateway Error when connecting to PHP-FPM upstream in Nginx" HOT 7
- 1.13.1 released HOT 2
- themes and assets directories not writable HOT 2
- Protect HumHub against viruses and malware when uploading files HOT 2
- UPDATE procedure HOT 1
- Upgrading from 1.12 to latest HOT 5
- Linkedin module uninstall leads to modules section being lost HOT 3
- I can't open the picture HOT 8
- SSL Woes HOT 8
- PHP_POST_MAX_SIZE and/or PHP_UPLOAD_MAX_FILESIZE variable ignored HOT 8
- Latest 1.14 docker image fails to start (1.14.5+1) HOT 8
- err_too_many_redirects HOT 4
- latest version? HOT 3
- Error launching container - 97: Address family not supported by protocol HOT 4
- OSError: [Errno 29] Invalid seek error after first start HOT 3
- Access denied for user 'root'@'localhost' (using password: NO) HOT 2
- Several issues while increasing file upload size HOT 8
- Issue with email delivery when creating new accounts and others HOT 2
- Humhub 1.16 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from humhub-docker.