wip: docker and travis

This commit is contained in:
Christoph Haas 2020-11-10 11:59:02 +01:00
parent 2448533706
commit bd3da3d6c7
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ ADD . /build/
# Set the Current Working Directory inside the container # Set the Current Working Directory inside the container
WORKDIR /build WORKDIR /build
# Workaround for failing travis-ci builds
RUN rm -rf ~/go; rm -rf go.sum
# Build the Go app # Build the Go app
RUN go clean -modcache; go mod tidy; make build RUN go clean -modcache; go mod tidy; make build