Sign inSign up
adminer logo

adminer:4-fastcgi

Multi-platform
Also known as:
4.17.1-fastcgi
Databases & storage
Index digest

sha256:cd3561abd473fa387ef362cbe691b5a0b7d18611342b175a51217d1ac021a740

OS/ARCH

Compressed size

39.69 MB

Last pushed

about 2 months by doijanky

Type

Image

Vulnerabilities

4
33
16
8
2

Manifest digest

sha256:44571b8106a3016ad0570bc3a0ccbef5f57bf68eca1134009522713fa45cb3f5

Layers (38)

oisupport/staging-i386:8.4-fpm-alpine
4
15
9
5
2
adminer:4-fastcgi
0
18
7
3
0

26

RUN /bin/sh -c echo "upload_max_filesize = 128M" >> /usr/local/etc/php/conf.d/0-upload_large_dumps.ini && echo "post_max_size = 128M" >> /usr/local/etc/php/conf.d/0-upload_large_dumps.ini && echo "memory_limit = 1G" >> /usr/local/etc/php/conf.d/0-upload_large_dumps.ini && echo "max_execution_time = 600" >> /usr/local/etc/php/conf.d/0-upload_large_dumps.ini && echo "max_input_vars = 5000" >> /usr/local/etc/php/conf.d/0-upload_large_dumps.ini # buildkit

303 B


27

RUN /bin/sh -c addgroup -S adminer && adduser -S -G adminer adminer && mkdir -p /var/www/html && mkdir /var/www/html/plugins-enabled && chown -R adminer:adminer /var/www/html # buildkit

1.04 KB


28

RUN /bin/sh -c set -x && apk add --no-cache --virtual .build-deps postgresql-dev sqlite-dev unixodbc-dev freetds-dev && docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr && docker-php-ext-install mysqli pdo_pgsql pdo_sqlite pdo_odbc pdo_dblib && runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )" && apk add --virtual .phpexts-rundeps $runDeps && apk del --no-network .build-deps # buildkit

4.34 MB


29

COPY *.php /var/www/html/ # buildkit

1.49 KB


30

ENV ADMINER_VERSION=4.17.1

0 B


31

ENV ADMINER_DOWNLOAD_SHA256=58956bc021b6b260b1a2ef32d03517f6f88f5ad4aa03ff2d0092c6f509e26d0a

0 B


32

ENV ADMINER_SRC_DOWNLOAD_SHA256=6e006c514a3f189dd14ee10fa98977141a00fe79beb2a515966c98f0914cbdd0

0 B


33

RUN /bin/sh -c set -x && curl -fsSL https://github.com/vrana/adminer/releases/download/v$ADMINER_VERSION/adminer-$ADMINER_VERSION.php -o adminer.php && echo "$ADMINER_DOWNLOAD_SHA256 adminer.php" |sha256sum -c - && curl -fsSL https://github.com/vrana/adminer/archive/v$ADMINER_VERSION.tar.gz -o source.tar.gz && echo "$ADMINER_SRC_DOWNLOAD_SHA256 source.tar.gz" |sha256sum -c - && tar xzf source.tar.gz --strip-components=1 "adminer-$ADMINER_VERSION/designs/" "adminer-$ADMINER_VERSION/plugins/" && rm source.tar.gz # buildkit

562.11 KB


34

COPY entrypoint.sh /usr/local/bin/ # buildkit

490 B


35

ENTRYPOINT ["entrypoint.sh" "docker-php-entrypoint"]

0 B


36

USER adminer

0 B


37

CMD ["php-fpm"]

0 B