Revision 487344a89bf0a0ef60703fb12d5b43ffa2edfeb5 authored by Romain Bardou on 07 April 2020, 09:05:36 UTC, committed by Pierre Boutillier on 14 April 2020, 14:52:01 UTC
1 parent 5af12b0
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