docker-dokuwiki-debian12/dokuwiki_source/dokuwiki/BUILD.txt

51 lines
6.4 KiB
Plaintext
Raw Normal View History

2024-09-17 08:06:40 +00:00
Docker image: docker.io/bitnami/debian-base-buildpack:bookworm-r1
Commands:
apt-get update -y
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin v0.49.1
curl -L https://github.com/google/go-containerregistry/releases/download/v0.16.1/go-containerregistry_Linux_x86_64.tar.gz -o /tmp/go-containerregistry-x86_64.tar.gz && \
tar -zxvf /tmp/go-containerregistry-x86_64.tar.gz -C /usr/local/bin/ crane && \
mv /usr/local/bin/crane /usr/local/bin/crane-x86_64
curl -L https://github.com/google/go-containerregistry/releases/download/v0.16.1/go-containerregistry_Linux_arm64.tar.gz -o /tmp/go-containerregistry-arm64.tar.gz && \
tar -zxvf /tmp/go-containerregistry-arm64.tar.gz -C /usr/local/bin/ crane && \
mv /usr/local/bin/crane /usr/local/bin/crane-arm64
curl https://github.com/splitbrain/dokuwiki-plugin-upgrade/archive/2024-02-06.tar.gz --output /tmp/sources/dokuwiki-upgrade-plugin/dokuwiki-plugin-upgrade-2024-02-06.tar.gz
tar --no-same-owner -C /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0 -xf /tmp/sources/dokuwiki-upgrade-plugin/dokuwiki-plugin-upgrade-2024-02-06.tar.gz
cd /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0
mkdir -p /opt/bitnami/dokuwiki/lib/plugins/upgrade
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/admin.php /opt/bitnami/dokuwiki/lib/plugins/upgrade/admin.php
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/admin.svg /opt/bitnami/dokuwiki/lib/plugins/upgrade/admin.svg
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/cli.php /opt/bitnami/dokuwiki/lib/plugins/upgrade/cli.php
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/composer.json /opt/bitnami/dokuwiki/lib/plugins/upgrade/composer.json
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/composer.lock /opt/bitnami/dokuwiki/lib/plugins/upgrade/composer.lock
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/deleted.files /opt/bitnami/dokuwiki/lib/plugins/upgrade/deleted.files
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/helper.php /opt/bitnami/dokuwiki/lib/plugins/upgrade/helper.php
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/HTTP /opt/bitnami/dokuwiki/lib/plugins/upgrade/HTTP
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/lang /opt/bitnami/dokuwiki/lib/plugins/upgrade/lang
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/legacy.php /opt/bitnami/dokuwiki/lib/plugins/upgrade/legacy.php
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/LICENSE /opt/bitnami/dokuwiki/lib/plugins/upgrade/LICENSE
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/plugin.info.txt /opt/bitnami/dokuwiki/lib/plugins/upgrade/plugin.info.txt
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/README /opt/bitnami/dokuwiki/lib/plugins/upgrade/README
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/style.css /opt/bitnami/dokuwiki/lib/plugins/upgrade/style.css
cp -r /bitnami/blacksmith-sandox/dokuwiki-upgrade-plugin-0.20240206.0/dokuwiki-plugin-upgrade-2024-02-06/vendor /opt/bitnami/dokuwiki/lib/plugins/upgrade/vendor
curl https://github.com/splitbrain/dokuwiki-plugin-smtp/archive/2023-04-03.tar.gz --output /tmp/sources/dokuwiki-smtp-plugin/dokuwiki-plugin-smtp-2023-04-03.tar.gz
tar --no-same-owner -C /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0 -xf /tmp/sources/dokuwiki-smtp-plugin/dokuwiki-plugin-smtp-2023-04-03.tar.gz
cd /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0
mkdir -p /opt/bitnami/dokuwiki/lib/plugins/smtp
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/_test /opt/bitnami/dokuwiki/lib/plugins/smtp/_test
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/action.php /opt/bitnami/dokuwiki/lib/plugins/smtp/action.php
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/admin.php /opt/bitnami/dokuwiki/lib/plugins/smtp/admin.php
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/admin.svg /opt/bitnami/dokuwiki/lib/plugins/smtp/admin.svg
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/classes /opt/bitnami/dokuwiki/lib/plugins/smtp/classes
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/conf /opt/bitnami/dokuwiki/lib/plugins/smtp/conf
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/helper.php /opt/bitnami/dokuwiki/lib/plugins/smtp/helper.php
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/lang /opt/bitnami/dokuwiki/lib/plugins/smtp/lang
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/loader.php /opt/bitnami/dokuwiki/lib/plugins/smtp/loader.php
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/plugin.info.txt /opt/bitnami/dokuwiki/lib/plugins/smtp/plugin.info.txt
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/README /opt/bitnami/dokuwiki/lib/plugins/smtp/README
cp -r /bitnami/blacksmith-sandox/dokuwiki-smtp-plugin-0.20230403.0/dokuwiki-plugin-smtp-2023-04-03/subtree /opt/bitnami/dokuwiki/lib/plugins/smtp/subtree
curl https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz --output /tmp/sources/dokuwiki/dokuwiki-2024-02-06b.tgz
tar --no-same-owner -C /bitnami/blacksmith-sandox/dokuwiki-20240206.1.0.tmp -xf /tmp/sources/dokuwiki/dokuwiki-2024-02-06b.tgz
cd /bitnami/blacksmith-sandox/dokuwiki-20240206.1.0.tmp
mkdir -p /opt/bitnami/dokuwiki
cp -r /bitnami/blacksmith-sandox/dokuwiki-20240206.1.0/. /opt/bitnami/dokuwiki