This repository has been archived on 2024-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
2021-11-13 22:33:57 +00:00
|
|
|
FROM golang:1.16-alpine as builder
|
|
|
|
|
2021-11-13 23:54:21 +00:00
|
|
|
RUN go get -v -u github.com/FreifunkBremen/yanic@2c0b3c74fc42efb3e91a88939d341ed73c65d31a
|
2021-11-13 22:33:57 +00:00
|
|
|
|
|
|
|
FROM alpine:3.14
|
|
|
|
|
|
|
|
COPY --from=builder /go/bin/yanic /bin/yanic
|
|
|
|
|
|
|
|
RUN apk add --update --no-cache bash
|
|
|
|
|
|
|
|
ADD entrypoint.sh /entrypoint.sh
|
|
|
|
|
|
|
|
VOLUME /data
|
|
|
|
|
|
|
|
CMD /entrypoint.sh
|