collection.dockerfile/alpine/adminer/Dockerfile

11 lines
498 B
Docker
Raw Normal View History

2022-01-17 15:56:05 +08:00
FROM alpine:latest
LABEL description="adminer on alpine"
LABEL maintainer="racken@one27.cf"
ENV container docker
RUN apk update; apk add bash tini php8-pdo_mysql php8-fpm nginx php8-session supervisor
RUN mkdir -p /var/www/html /etc/supervisor.d
COPY nginx-default.conf /etc/nginx/http.d/default.conf
RUN wget https://github.com/vrana/adminer/releases/download/v4.8.1/adminer-4.8.1-mysql-en.php -O /var/www/html/adminer.php
COPY run.ini /etc/supervisor.d/run.ini
CMD ["/usr/bin/supervisord", "-n"]