shad-go/testenv.docker

11 lines
338 B
Docker

FROM gitlab.manytask.org:5050/go/public-2024-spring/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