-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathadminer_standalone_extended.multiarch.alpine.Dockerfile
More file actions
36 lines (29 loc) · 1.34 KB
/
adminer_standalone_extended.multiarch.alpine.Dockerfile
File metadata and controls
36 lines (29 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# build: docker build --no-cache --progress=plain -t tobi312/tools:adminer -f adminer_standalone_extended.multiarch.alpine.Dockerfile .
FROM adminer:standalone
ARG VCS_REF
ARG BUILD_DATE
LABEL org.opencontainers.image.title="Adminer" \
#org.opencontainers.image.authors="Community" \
org.opencontainers.image.created="${BUILD_DATE}" \
org.opencontainers.image.revision="${VCS_REF}" \
org.opencontainers.image.description="Adminer: Database management in a single PHP file." \
org.opencontainers.image.documentation="https://hub.docker.com/_/adminer" \
org.opencontainers.image.base.name="docker.io/library/adminer:standalone" \
#org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.url="https://hub.docker.com/r/tobi312/tools" \
org.opencontainers.image.source="https://github.com/Tob1as/docker-tools"
# switch user
USER root
# php-extension-installer https://github.com/mlocati/docker-php-extension-installer
#COPY --from=ghcr.io/mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN set -x ; \
install-php-extensions \
#pdo_dblib \
oci8 \
#interbase \
mongodb \
; \
echo "PHP extensions installation is complete!"
# switch user
USER adminer