Archived
1
0
Fork 0
This repository has been archived on 2024-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
dockerfiles/feed-to-muc/Dockerfile
2019-07-28 15:05:21 +02:00

22 lines
462 B
Docker

FROM golang:latest AS build-env
RUN go get salsa.debian.org/mdosch-guest/feed-to-muc
RUN go install salsa.debian.org/mdosch-guest/feed-to-muc
FROM alpine:latest
RUN apk --no-cache add ca-certificates \
&& mkdir -p /.config/feed-to-muc \
&& mkdir /.cache \
&& chown nobody:nobody /.cache \
&& mkdir /lib64 \
&& ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
COPY --from=build-env /go/bin/feed-to-muc /
USER nobody
CMD ["/feed-to-muc"]