FOSSASIA
loklak: reduce the size of a docker image
Objective
Loklak is shipped to servers via docker containers and can be kept up-to-date. When it is shipped, it should have a small size to enable fast updates and reduce cost. Reduce the size of the docker file of loklak and add your learnings (what worked, what did not work) to the repository.
Requirements
- fork the loklak repository, make the required changes and make a pull request
- star the loklak repositories
- get added to the loklak organization publicly
Expected Outcome
- The docker image has a reduced size
- The docker image works: If you remove commands, be clear of the purpose.
- You wrote down how you reduced it to a learnings.md file next to the Dockerfile
- You wrote down what did not work into a learnings.md file next to the Dockerfile, so others do not try it again: To optimize the last kilobytes, we will need this knowledge.
LINKS & HINTS
- https://github.com/loklak/loklak_server/
- http://loklak.org
- Also look at other Dockerfiles of popular reduced-size images like nginx, mysql, ...
- An issue: https://github.com/loklak/loklak_server/issues/893
Task tags
Students who completed this task
yuki_is_bored