# syntax=docker/dockerfile:1 FROM golang:1.27.3-alpine AS builder RUN apk update && \ apk add --no-cache --no-progress \ ca-certificates \ bash \ gcc \ make \ musl-dev \ curl \ tar \ tzdata \ git \ && rm -rf /var/cache/apk/* && update-ca-certificates WORKDIR /github.com/jesusnoseq/request-inbox/ COPY Makefile Makefile RUN make download-tools COPY api/go.mod api/go.sum ./api/ RUN make install COPY . /github.com/jesusnoseq/request-inbox/ CMD ["make", "help"]