Revision 389ee01090402f3f4cd52e83924f0eaf0de4e2be authored by Philippe Bidinger on 07 April 2020, 22:15:37 UTC, committed by Philippe Bidinger on 07 April 2020, 22:17:57 UTC
1 parent 8b89d58
Raw File
build.Dockerfile
ARG BASE_IMAGE=registry.gitlab.com/tezos/opam-repository
ARG BASE_IMAGE_VERSION
FROM ${BASE_IMAGE}:${BASE_IMAGE_VERSION}
# do not move the ARG below above the FROM or it gets erased
ARG GIT_SHORTREF
WORKDIR /home/tezos
RUN mkdir -p /home/tezos/tezos/scripts
COPY --chown=tezos:nogroup Makefile tezos
COPY --chown=tezos:nogroup active_protocol_versions tezos
COPY --chown=tezos:nogroup scripts/version.sh tezos/scripts/
COPY --chown=tezos:nogroup src tezos/src
COPY --chown=tezos:nogroup vendors tezos/vendors
ENV GIT_SHORTREF=${GIT_SHORTREF}
RUN opam exec -- make -C tezos all build-test
back to top