Files
abra/Dockerfile
Renovate Bot e5c65b8fa0
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): update alpine docker tag to v3.24
2026-06-09 21:00:57 +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.24
RUN apk add --no-cache \
ca-certificates \
git \
openssh
RUN update-ca-certificates
COPY --from=build /app/abra /abra
ENTRYPOINT ["/abra"]