Files
abra/Dockerfile
Renovate Bot e170d1c971
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): update alpine docker tag to v3.23
2026-05-14 19:04:12 +00:00

30 lines
363 B
Docker

# Build image
FROM golang:1.26-alpine AS build
ENV GOPRIVATE=coopcloud.tech
RUN apk add --no-cache \
gcc \
git \
make \
musl-dev
COPY . /app
WORKDIR /app
RUN CGO_ENABLED=0 make build
FROM alpine:3.23
RUN apk add --no-cache \
ca-certificates \
git \
openssh
RUN update-ca-certificates
COPY --from=build /app/abra /abra
ENTRYPOINT ["/abra"]