sha256:3ea5a0d3753572e356acef2d3a5c4dd58ab972bcdcc8988df7d3f4240e6c20ab
OS/ARCH
Compressed size
108.31 MB
Last pushed
2 days by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:39cfe3bad9947cc82e4b7203490e025156dcfc0e85bf0f9174400a6551b1019a
26
LABEL org.opencontainers.image.source=https://github.com/espocrm/espocrm
0 B
27
LABEL org.opencontainers.image.description=EspoCRM is a free and open-source CRM platform.
0 B
28
RUN /bin/sh -c set -eux; apk add --no-cache bash ; # buildkit
522.6 KB
29
RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps $PHPIZE_DEPS postgresql-dev libzip-dev libpng-dev libjpeg-turbo-dev libwebp-dev freetype-dev openldap-dev openssl-dev libzmq zeromq-dev ; cd /usr; curl -fSL https://github.com/zeromq/php-zmq/archive/616b6c64ffd3866ed038615494306dd464ab53fc.tar.gz -o php-zmq.tar.gz; tar -zxf php-zmq.tar.gz; cd php-zmq*; phpize && ./configure; make; make install; cd .. && rm -rf php-zmq*; pecl install ev redis ; docker-php-ext-configure gd --with-freetype --with-jpeg=/usr/include --with-webp ; docker-php-ext-install -j "$(nproc)" gd pdo_pgsql pdo_mysql zip ldap exif pcntl bcmath ; docker-php-ext-enable zmq ev redis ; rm -r /tmp/pear; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .espocrm-phpexts-rundeps $runDeps; apk del --no-network .build-deps # buildkit
4.45 MB
30
RUN /bin/sh -c { echo 'expose_php = Off'; echo 'error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED'; echo 'display_errors = Off'; echo 'display_startup_errors = Off'; echo 'log_errors = On'; echo 'memory_limit=256M'; echo 'max_execution_time=180'; echo 'max_input_time=180'; echo 'post_max_size=50M'; echo 'upload_max_filesize=50M'; echo 'date.timezone=UTC'; } > ${PHP_INI_DIR}/conf.d/espocrm.ini # buildkit
384 B
31
ENV ESPOCRM_VERSION=10.0.8
0 B
32
ENV ESPOCRM_SHA256=b40f1631cda1f49a1958734bddef5831a48363a1785bc9d57ff67ded58419163
0 B
33
WORKDIR /var/www/html
32 B
34
RUN /bin/sh -c set -eux; curl -fSL "https://www.espocrm.com/downloads/EspoCRM-10.0.8.zip" -o EspoCRM.zip; echo "${ESPOCRM_SHA256} *EspoCRM.zip" | sha256sum -c -; unzip -q EspoCRM.zip -d /usr/src; cp -a "/usr/src/EspoCRM-${ESPOCRM_VERSION}/." /var/www/html/; rm -rf /usr/src/EspoCRM*; mkdir -p /usr/src/espocrm; cp -a ./client/ /usr/src/espocrm/; cp -a ./public/ /usr/src/espocrm/; rm -rf ./install; find . -type d -exec chmod 755 {} +; find . -type f -exec chmod 644 {} +; chown -R root:root . /usr/src/espocrm; chown -R www-data:www-data ./data ./custom ./client/custom; chmod +x ./bin/command # buildkit
73.96 MB
35
COPY ./docker-*.sh ./entrypoint-utils.sh /usr/local/bin/ # buildkit
3.39 KB
36
ENTRYPOINT ["docker-entrypoint.sh"]
0 B
37
CMD ["php-fpm"]
0 B