First commit

This commit is contained in:
Tebiev
2022-12-06 21:31:13 +01:00
parent 0fb730d322
commit 20a52a2ce7
9 changed files with 12 additions and 6 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
# docker build -t phpmyadmin-fpm-alpine-caddy --build-arg BUILDKIT_INLINE_CACHE=1 -f ./docker/Dockerfile . && docker run --rm -it -p 8080:80 phpmyadmin-fpm-alpine-caddy
ARG BASE_IMAGE_VERSION=latest
ARG BASE_IMAGE_VERSION
FROM phpmyadmin/phpmyadmin:${BASE_IMAGE_VERSION} as phpmyadmin
FROM alpine:3 as phpmyadmin-themes
@@ -47,9 +47,6 @@ COPY ./docker/config/php-fpm.d/zzz-php-fpm_custom.conf /usr/local/etc/php-fpm.d/
COPY --from=phpmyadmin-themes /src/themes-master/blueberry/ /var/www/html/themes/blueberry/
COPY --from=phpmyadmin-themes /src/themes-master/boodark/ /var/www/html/themes/boodark/
RUN set -eux \
&& rm -R themes/metro/ themes/bootstrap/ themes/original/
LABEL org.opencontainers.image.title="phpMyAdmin Docker image" \
org.opencontainers.image.description="Run phpMyAdmin with Alpine, PHP FPM and Caddy" \
org.opencontainers.image.authors="https://github.com/beeyev/phpmyadmin-docker-lightweight" \
@@ -62,6 +59,9 @@ ARG TZ='UTC'
ENV TZ=$TZ
#These params meant to be set by CI
ARG IMAGE_TAG
ENV IMAGE_TAG=$IMAGE_TAG
RUN echo $IMAGE_TAG
ARG BUILD_DATE
ENV BUILD_DATE=$BUILD_DATE
RUN echo $BUILD_DATE
+1 -1
View File
@@ -20,7 +20,7 @@ for f in /docker-entrypoint.init.d/*; do
esac
done
printf "\n${GRN}--->${NC} 🚀️ Welcome to ${GRN}beeyev phpMyAdmin lightweight${NC} container..."
printf "\n${GRN}--->${NC} 🚀️ Welcome to ${GRN}beeyev phpMyAdmin v.${VERSION} lightweight${NC} container..."
printf "\n${GRN}--->${NC} Docker image build date: ${GRN}${BUILD_DATE}${NC}, fingerprint: ${GRN}${BUILD_FINGERPRINT}${NC}"
printf "\n${GRN}--->${NC} Subscribe to project updates: ${GRN}https://github.com/beeyev/phpmyadmin-docker-lightweight${NC}\n\n"