sha256:429e6984e022dd90e37f076a69106efe2c49697687b5b315122cec05f2c4653a
OS/ARCH
Compressed size
41.94 MB
Last pushed
1 day by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:2c9847bbd003dc708bced8e8dcb7d00961e9732fa83a6f6449cc60e1f53bbb7b
22
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
305 B
23
STOPSIGNAL SIGINT
0 B
24
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
25
WORKDIR /var/www/html
32 B
26
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 --no-cache --virtual .phpexts-rundeps $runDeps && apk del --no-network .build-deps # buildkit
1.5 MB
27
COPY *.php /var/www/html/ # buildkit
1.77 KB
28
ENV ADMINER_VERSION=5.5.1
0 B
29
ENV ADMINER_DOWNLOAD_SHA256=f2c70c6403a042d554be1dd8d69b6f6270a97e5b40d2fb7626f46aad821e9a18
0 B
30
ENV ADMINER_SRC_DOWNLOAD_SHA256=dfac9604fc044e0856fbcacd587db9540df4e67d53a180377f51b9a228d7b136
0 B
31
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
598.15 KB
32
COPY entrypoint.sh /usr/local/bin/ # buildkit
490 B
33
ENTRYPOINT ["entrypoint.sh" "docker-php-entrypoint"]
0 B
34
USER adminer
0 B
35
CMD ["php" "-S" "[::]:8080" "-t" "/var/www/html"]
0 B
36
EXPOSE map[8080/tcp:{}]
0 B