Sign inSign up

coursondev/attestation-pipeline

By coursondev

•Updated over 2 years ago

на базе 8.2

Image
0

282

coursondev/attestation-pipeline repository overview

актуальный Dockerfile:

FROM php:8.2-fpm

RUN apt-get clean && apt-get update && apt-get install -y unzip libzip-dev git libfreetype6-dev libjpeg62-turbo-dev libpng-dev python3 python3-pip libreoffice-common unoconv \
    && pecl install -o -f redis \
    && rm -rf /tmp/pear \
    && docker-php-ext-enable redis \
    && pip3 install docxtpl --break-system-packages

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN chmod uga+x /usr/local/bin/install-php-extensions && sync && \
    install-php-extensions gd pdo_mysql zip

RUN git clone https://github.com/edenhill/librdkafka.git \
    && cd librdkafka \
    && ./configure \
    && make \
    && make install \
    && rm -rf /librdkafka

RUN pecl install rdkafka \
    && docker-php-ext-enable rdkafka

RUN pecl install pcov \
    && docker-php-ext-enable pcov

RUN curl -sS https://getcomposer.org/installer | php -- \
  --install-dir=/usr/bin --filename=composer

RUN echo "memory_limit = 512M" >> $PHP_INI_DIR/conf.d/php-memory-limits.ini
RUN echo "max_input_vars = 5000" >> $PHP_INI_DIR/conf.d/php-memory-limits.ini

команды для сборки образа - выполняем в папке с докерфайлом

1) docker buildx build --platform=linux/amd64 --tag=coursondev/attestation-pipeline .
2) docker push coursondev/attestation-pipeline

Tag summary

Content type

Image

Digest

sha256:9324cecef…

Size

877.7 MB

Last updated

over 2 years ago

docker pull coursondev/attestation-pipeline