nulib/support/Dockerfile.db

16 lines
400 B
Docker
Raw Normal View History

2024-04-19 11:46:31 +04:00
# -*- coding: utf-8 mode: dockerfile -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
ARG REGISTRY=pubdocker.univ-reunion.fr
FROM $REGISTRY/src/base as base
FROM $REGISTRY/src/mariadb as mariadb
FROM mariadb:10
COPY --from=base /g/ /g/
COPY --from=mariadb /g/ /g/
ARG APT_PROXY TIMEZONE
ENV APT_PROXY=$APT_PROXY TIMEZONE=$TIMEZONE
RUN /g/build -a @base @mariadb
EXPOSE 3306
ENTRYPOINT ["/g/entrypoint"]