2020-06-23 13:40:05 +00:00
|
|
|
FROM alpine:3.12
|
2019-07-27 14:03:05 +00:00
|
|
|
|
2020-10-19 12:36:40 +00:00
|
|
|
RUN echo $'\
|
|
|
|
@edge http://dl-cdn.alpinelinux.org/alpine/edge/main\n\
|
|
|
|
@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing\n\
|
|
|
|
@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories
|
2020-08-17 21:46:05 +00:00
|
|
|
|
2019-07-27 14:03:05 +00:00
|
|
|
ENV UID=1337 \
|
|
|
|
GID=1337
|
|
|
|
|
2020-10-19 12:36:40 +00:00
|
|
|
RUN apk add --no-cache ffmpeg su-exec ca-certificates bash jq curl yq@edge
|
2019-07-27 14:03:05 +00:00
|
|
|
|
2021-09-16 18:18:39 +00:00
|
|
|
ARG EXECUTABLE=./mautrix-groupme
|
|
|
|
COPY $EXECUTABLE /usr/bin/mautrix-groupme
|
|
|
|
COPY ./example-config.yaml /opt/mautrix-groupme/example-config.yaml
|
2019-07-27 14:03:05 +00:00
|
|
|
COPY ./docker-run.sh /docker-run.sh
|
|
|
|
VOLUME /data
|
|
|
|
|
|
|
|
CMD ["/docker-run.sh"]
|