20 lines
512 B
Docker
20 lines
512 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 $REGISTRY/src/legacytools as legacytools
|
|
|
|
FROM mariadb:10
|
|
ARG APT_PROXY TIMEZONE
|
|
ENV APT_PROXY=$APT_PROXY TIMEZONE=$TIMEZONE
|
|
|
|
COPY --from=base /g/ /g/
|
|
COPY --from=mariadb /g/ /g/
|
|
RUN /g/build -a @base @mariadb
|
|
|
|
COPY --from=legacytools /g/ /g/
|
|
RUN /g/build nutools servertools
|
|
|
|
EXPOSE 3306
|
|
ENTRYPOINT ["/g/entrypoint"]
|