# -*- 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"]