mirror of
https://github.com/hassio-addons/addon-tasmoadmin.git
synced 2025-05-05 03:21:34 +00:00
⬆️ Upgrades TasmoAdmin to v2.0.0-beta6 (#243)
This commit is contained in:
parent
efbe3977e3
commit
82ed22c0a1
1 changed files with 30 additions and 10 deletions
|
@ -6,26 +6,46 @@ FROM ${BUILD_FROM}
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
# Setup base
|
# Setup base
|
||||||
|
# hadolint ignore=DL3003
|
||||||
RUN \
|
RUN \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
nginx=1.22.0-r0 \
|
nginx=1.22.0-r0 \
|
||||||
php8-curl=8.0.19-r1 \
|
php8-curl=8.0.20-r0 \
|
||||||
php8-fpm=8.0.19-r1 \
|
php8-fpm=8.0.20-r0 \
|
||||||
php8-opcache=8.0.19-r1 \
|
php8-opcache=8.0.20-r0 \
|
||||||
php8-session=8.0.19-r1 \
|
php8-session=8.0.20-r0 \
|
||||||
php8-zip=8.0.19-r1 \
|
php8-zip=8.0.20-r0 \
|
||||||
php8=8.0.19-r1 \
|
php8=8.0.20-r0 \
|
||||||
\
|
\
|
||||||
&& apk add --no-cache --virtual .build-dependencies \
|
&& apk add --no-cache --virtual .build-dependencies \
|
||||||
|
composer=2.3.7-r0 \
|
||||||
git=2.36.1-r0 \
|
git=2.36.1-r0 \
|
||||||
|
nodejs=16.15.0-r1 \
|
||||||
|
npm=8.10.0-r0 \
|
||||||
\
|
\
|
||||||
&& git clone --branch v1.8.0 --depth=1 \
|
&& git clone --branch "v2.0.0-beta6" --depth=1 \
|
||||||
https://github.com/reloxx13/TasmoAdmin.git /var/www/tasmoadmin \
|
"https://github.com/reloxx13/TasmoAdmin.git" /var/www/tasmoadmin \
|
||||||
|
\
|
||||||
|
&& cd /var/www/tasmoadmin/tasmoadmin \
|
||||||
|
&& composer remove --dev --no-install "phpunit/phpunit" \
|
||||||
|
&& composer install --no-dev \
|
||||||
|
\
|
||||||
|
&& npm ci \
|
||||||
|
&& node minify.js \
|
||||||
\
|
\
|
||||||
&& apk del --no-cache --purge .build-dependencies \
|
&& apk del --no-cache --purge .build-dependencies \
|
||||||
\
|
\
|
||||||
&& rm -f -r /var/www/tasmoadmin/.git \
|
&& rm -f -r \
|
||||||
&& rm -f -r /var/www/tasmoadmin/portable \
|
/root/.composer \
|
||||||
|
/root/.npm \
|
||||||
|
/var/www/tasmoadmin/.docker \
|
||||||
|
/var/www/tasmoadmin/.git \
|
||||||
|
/var/www/tasmoadmin/.github \
|
||||||
|
/var/www/tasmoadmin/.iocage \
|
||||||
|
/var/www/tasmoadmin/docker-compose.yml \
|
||||||
|
/var/www/tasmoadmin/tasmoadmin/node_modules \
|
||||||
|
/var/www/tasmoadmin/tasmoadmin/tests \
|
||||||
|
\
|
||||||
&& find /var/www/tasmoadmin -type f -name ".htaccess" -depth -exec rm -f {} \; \
|
&& find /var/www/tasmoadmin -type f -name ".htaccess" -depth -exec rm -f {} \; \
|
||||||
&& find /var/www/tasmoadmin -type f -name "*.md" -depth -exec rm -f {} \; \
|
&& find /var/www/tasmoadmin -type f -name "*.md" -depth -exec rm -f {} \; \
|
||||||
&& find /var/www/tasmoadmin -type f -name ".gitignore" -depth -exec rm -f {} \; \
|
&& find /var/www/tasmoadmin -type f -name ".gitignore" -depth -exec rm -f {} \; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue