abra/Dockerfile
Comrade Renovate Bot e42139fd83
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
chore(deps): update golang docker tag to v1.21
2023-08-09 07:02:07 +00:00

18 lines
237 B
Docker

FROM golang:1.21-alpine AS build
ENV GOPRIVATE coopcloud.tech
RUN apk add --no-cache make git gcc musl-dev
COPY . /app
WORKDIR /app
RUN CGO_ENABLED=0 make build
FROM scratch
COPY --from=build /app/abra /abra
ENTRYPOINT ["/abra"]