Pre-fill module cache

This commit is contained in:
Fedor Korotkiy 2020-05-30 16:22:42 +03:00
parent 9a6eaeca09
commit 3854aef63a

View file

@ -2,6 +2,8 @@ FROM eu.gcr.io/shad-ts/grader/go-build:latest
COPY . /opt/shad COPY . /opt/shad
RUN cd /opt/shad && go mod download
COPY .gitlab-ci.yml /opt/shad/.grader-ci.yml COPY .gitlab-ci.yml /opt/shad/.grader-ci.yml
RUN cd /opt/shad && go install gitlab.com/slon/shad-go/tools/testtool/cmd/testtool RUN cd /opt/shad && go install gitlab.com/slon/shad-go/tools/testtool/cmd/testtool