shad-go/testenv.docker

12 lines
338 B
Docker
Raw Permalink Normal View History

FROM gitlab.manytask.org:5050/go/public-2024-spring/build:latest
2020-01-31 19:03:57 +00:00
COPY . /opt/shad
2020-05-30 13:22:42 +00:00
RUN cd /opt/shad && go mod download
2020-02-12 23:18:05 +00:00
COPY .gitlab-ci.yml /opt/shad/.grader-ci.yml
RUN cd /opt/shad && go install gitlab.com/slon/shad-go/tools/testtool/cmd/testtool
2020-01-31 19:48:08 +00:00
2020-02-13 00:07:21 +00:00
RUN find /opt/shad -type f -iname '*.go' -not -path '*/testdata/*' | xargs chmod o-rwx