evolution-docker-image-builder/README.txt

66 lines
2.3 KiB
Plaintext

These scripts build docker images using a prepared rootfs in the Dockerfile.
The Dockerfile installs evolution email and supporting libraries.
Assuming the availability of corresponding rootfs.tar.gz available in ..
Build them with the build scripts.
build-it.sh
a script that takes a relase name and release data and uses 'docker build' to
generate the docker image.
create-images.sh
runs build-it.sh for each release, wheezy through bookworm, individual scripts
can be found in the single-scripts directory.
run-it.sh
a script that takes a release name and uses 'docker run' to bring up a docker
container from which to run evolution. ${PWD}/home/tonny is mounted as /home/tonny
in the container. dbus-launch /usr/bin/evolution run from the container should
bring up an evolution window.
restore-evolution.sh WIP
it should be possible to take an evolution backup from a working evolution and
restore it in the container. This just exit 0s.
remove-images.sh
attempts to remove all docker images made by create-images.sh using 'docker rmi'
home directories
../../home_old 6.3G from november 2021
../../home 1.6G from december 2023
home_new shows the minimum structure needed for evolution.
du -h home_new
5.5K home_new/tonny/.config/evolution/memos/views
11K home_new/tonny/.config/evolution/memos
27K home_new/tonny/.config/evolution/addressbook/views
28K home_new/tonny/.config/evolution/addressbook
5.5K home_new/tonny/.config/evolution/tasks/views
7.0K home_new/tonny/.config/evolution/tasks
324K home_new/tonny/.config/evolution/mail/folders
1.4M home_new/tonny/.config/evolution/mail/views
1.7M home_new/tonny/.config/evolution/mail
23K home_new/tonny/.config/evolution/calendar/views
42K home_new/tonny/.config/evolution/calendar
1.8M home_new/tonny/.config/evolution
1.8M home_new/tonny/.config
5.0K home_new/tonny/.dbus/session-bus
5.5K home_new/tonny/.dbus
23K home_new/tonny/.fontconfig
1.9M home_new/tonny
1.9M home_new
Adding a new release.
1. Add build_it.sh $RELEASE_NAME $SOURCE_DATE to:
2. create-images.sh and remove-images.sh
3. run-it.sh $RELEASE_NAME
Sequence to transfer the evolution files from evolution wheezy to evolution bullseye.
1. Copy /home/tonny to the docker directory
2. run create-images.sh
3. in sequence run run-it.sh having changed the RELEASE_NAME to wheezy through to bullseye. You should then be able to: