Marvin Steadfast
104e72bd86
All checks were successful
continuous-integration/drone/push Build is passing
10 lines
277 B
Docker
10 lines
277 B
Docker
FROM golang:1.16-alpine as builder
|
|
|
|
COPY mockery /usr/local/bin
|
|
|
|
# Explicitly set a writable cache path when running --user=$(id -u):$(id -g)
|
|
# see: https://github.com/golang/go/issues/26280#issuecomment-445294378
|
|
ENV GOCACHE /tmp/.cache
|
|
|
|
ENTRYPOINT ["/usr/local/bin/mockery"]
|