core/TestsDockerfile
2024-03-13 21:23:46 +03:00

8 lines
291 B
Plaintext

FROM golang:alpine
WORKDIR /app
RUN apk add git
COPY . .
RUN git config --global url."https://forgomod:glpat-uzHiaztQGzR1BL8RiQTK@penahub.gitlab.yandexcloud.net/".insteadOf "https://penahub.gitlab.yandexcloud.net/"
RUN apk add --no-cache git && go mod download
CMD ["go", "test", "./tests"]