Something went wrong. Try again.
forked from darkweak/souin
Something went wrong. Try again.
12345678910111213141516171819202122232425262728ARG GO_VERSION
FROM golang:${GO_VERSION}-alpine AS souin
RUN apk update && apk upgrade && \ apk add --no-cache bash git openssh gcc libc-devENV GOPATH /app
RUN mkdir -p /app/src/github.com/darkweak/souinWORKDIR /app/src/github.com/darkweak/souinADD ./go.* /app/src/github.com/darkweak/souin/RUN go mod downloadRUN go get golang.org/x/lint/golintRUN mkdir -p /sslADD ./context /app/src/github.com/darkweak/souin/contextADD ./pkg /app/src/github.com/darkweak/souin/pkgADD ./tests /app/src/github.com/darkweak/souin/testsADD ./configuration /app/src/github.com/darkweak/souin/configurationADD ./configurationtypes /app/src/github.com/darkweak/souin/configurationtypesADD ./helpers /app/src/github.com/darkweak/souin/helpersADD ./plugins /app/src/github.com/darkweak/souin/plugins
WORKDIR /app/src/github.com/darkweak/souin
EXPOSE 80
CMD ["go", "run", "plugins/souin/main.go"]