Files
decentral1se cb11ca1bbf
continuous-integration/drone/pr Build is passing
feat: forked xgettext-go
2025-09-30 19:17:34 +02:00

16 lines
352 B
Docker

FROM golang:1.25-alpine AS build
RUN apk add git && \
git clone https://git.coopcloud.tech/toolshed/xgettext-go /tmp/xgettext-go && \
cd /tmp/xgettext-go && \
go build
FROM golang:1.25-alpine
WORKDIR /drone/src
COPY --from=build /tmp/xgettext-go/xgettext-go /bin/xgettext-go
COPY plugin.sh /plugin/plugin.sh
ENTRYPOINT ["/plugin/plugin.sh"]