2023-06-26 10:21:44 +00:00
|
|
|
FROM dock.mau.dev/tulir/lottieconverter:alpine-3.18 AS lottie
|
2023-02-04 14:10:03 +00:00
|
|
|
|
2023-06-26 10:21:44 +00:00
|
|
|
FROM alpine:3.18
|
2022-03-31 19:51:43 +00:00
|
|
|
|
|
|
|
ENV UID=1337 \
|
|
|
|
GID=1337
|
|
|
|
|
2023-02-04 14:10:03 +00:00
|
|
|
RUN apk add --no-cache ffmpeg su-exec ca-certificates bash jq curl yq \
|
|
|
|
zlib libpng giflib libstdc++ libgcc
|
2022-03-31 19:51:43 +00:00
|
|
|
|
2023-02-04 14:10:03 +00:00
|
|
|
COPY --from=lottie /usr/lib/librlottie.so* /usr/lib/
|
|
|
|
COPY --from=lottie /usr/local/bin/lottieconverter /usr/local/bin/lottieconverter
|
2022-03-31 19:51:43 +00:00
|
|
|
ARG EXECUTABLE=./mautrix-discord
|
|
|
|
COPY $EXECUTABLE /usr/bin/mautrix-discord
|
|
|
|
COPY ./example-config.yaml /opt/mautrix-discord/example-config.yaml
|
|
|
|
COPY ./docker-run.sh /docker-run.sh
|
|
|
|
VOLUME /data
|
|
|
|
|
|
|
|
CMD ["/docker-run.sh"]
|