7d78e65d0c
Add semantic versioning to all services * working * Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/semver * 1.24 mod * go upgrade * tool * Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/semver
12 lines
335 B
Docker
12 lines
335 B
Docker
FROM golang:1.24-alpine as builder
|
|
|
|
RUN apk --update add --no-cache gcc musl-dev git openssh
|
|
|
|
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"]
|