2019-02-03 17:25:21 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-02-01 22:08:22 +01:00
|
|
|
apk --no-cache add --no-scripts --no-commit-hooks --initramfs-diskless-boot synapse
|
2019-02-03 17:25:21 +01:00
|
|
|
|
|
|
|
find /usr -name "__pycache__" -exec rm -rf {} +
|
|
|
|
find /usr -name "*.pyc" -exec rm {} +
|
2019-02-03 23:37:40 +01:00
|
|
|
|
2021-02-01 22:08:22 +01:00
|
|
|
apk del alpine-keys alpine-baselayout
|
2019-02-03 23:37:40 +01:00
|
|
|
|
|
|
|
rm -rf /etc/apk \
|
2021-02-01 22:08:22 +01:00
|
|
|
/etc/ssl \
|
|
|
|
/etc/terminfo \
|
|
|
|
/etc/synapse \
|
2019-02-03 23:37:40 +01:00
|
|
|
/root/.cache \
|
2019-02-03 17:25:21 +01:00
|
|
|
/root/.config \
|
2019-02-03 23:37:40 +01:00
|
|
|
/var/cache/*
|