shad-go/testenv.docker
2020-05-30 16:22:42 +03:00

11 lines
319 B
Docker

FROM eu.gcr.io/shad-ts/grader/go-build:latest
COPY . /opt/shad
RUN cd /opt/shad && go mod download
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 find /opt/shad -type f -iname '*.go' -not -path '*/testdata/*' | xargs chmod o-rwx