16 lines
400 B
Docker
16 lines
400 B
Docker
# -*- 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"]
|