remove local fonts
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
0002249480
commit
ad8200d6d5
Binary file not shown.
|
@ -1,20 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
cd /usr/local/src/fonts
|
|
||||||
|
|
||||||
for font in /usr/local/src/fonts/*.zip; do
|
|
||||||
unzip $font
|
|
||||||
rsync -a $(basename $font .zip)/ /usr/local/share/texmf
|
|
||||||
done
|
|
||||||
|
|
||||||
mktexlsr
|
|
||||||
|
|
||||||
for map in $(find /usr/local/share/texmf -type f -name '*.map'); do
|
|
||||||
cd $(dirname $map)
|
|
||||||
updmap-sys --force --enable Map=$(basename $map)
|
|
||||||
done
|
|
||||||
|
|
||||||
mktexlsr
|
|
||||||
|
|
Binary file not shown.
|
@ -13,14 +13,12 @@ FROM php:8.1.6-fpm as php
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev unzip
|
RUN apt-get install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev unzip
|
||||||
RUN apt-get install -y --no-install-recommends texlive-base texlive-latex-base texlive-pictures texlive-latex-extra texlive-lang-german texlive-plain-generic texlive-fonts-recommended
|
RUN apt-get install -y --no-install-recommends texlive-base texlive-latex-base texlive-pictures texlive-latex-extra texlive-lang-german texlive-plain-generic texlive-fonts-recommended texlive-fonts-extra
|
||||||
RUN docker-php-ext-install pdo_mysql curl gd intl mbstring pcntl
|
RUN docker-php-ext-install pdo_mysql curl gd intl mbstring pcntl
|
||||||
RUN pecl install redis && docker-php-ext-enable redis
|
RUN pecl install redis && docker-php-ext-enable redis
|
||||||
COPY --chown=www-data:www-data . /app
|
COPY --chown=www-data:www-data . /app
|
||||||
COPY --chown=www-data:www-data --from=node /app/public /app/public
|
COPY --chown=www-data:www-data --from=node /app/public /app/public
|
||||||
COPY --chown=www-data:www-data --from=composer /app/vendor /app/vendor
|
COPY --chown=www-data:www-data --from=composer /app/vendor /app/vendor
|
||||||
COPY .docker/fonts /usr/local/src/fonts
|
|
||||||
RUN /usr/local/src/fonts/compile.sh
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
CMD ["php-fpm", "-F", "-R", "-O"]
|
CMD ["php-fpm", "-F", "-R", "-O"]
|
||||||
|
|
|
@ -31,10 +31,9 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- apt-get update > /dev/null
|
- apt-get update > /dev/null
|
||||||
- apt-get install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev unzip > /dev/null
|
- apt-get install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev unzip > /dev/null
|
||||||
- apt-get install -y --no-install-recommends texlive-base texlive-latex-base texlive-pictures texlive-latex-extra texlive-lang-german texlive-plain-generic texlive-fonts-recommended > /dev/null
|
- apt-get install -y --no-install-recommends texlive-base texlive-latex-base texlive-pictures texlive-latex-extra texlive-lang-german texlive-plain-generic texlive-fonts-recommended texlive-fonts-extra > /dev/null
|
||||||
- docker-php-ext-install pdo_mysql curl gd intl mbstring pcntl > /dev/null
|
- docker-php-ext-install pdo_mysql curl gd intl mbstring pcntl > /dev/null
|
||||||
- pecl install redis && docker-php-ext-enable redis > /dev/null
|
- pecl install redis && docker-php-ext-enable redis > /dev/null
|
||||||
- cp -R /drone/nami/.docker/fonts /usr/local/src/fonts && /usr/local/src/fonts/compile.sh
|
|
||||||
- php artisan migrate
|
- php artisan migrate
|
||||||
- php artisan test
|
- php artisan test
|
||||||
- rm -f .env
|
- rm -f .env
|
||||||
|
|
Loading…
Reference in New Issue