forked from mautrix/imessage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into feat-double-puppeting
- Loading branch information
Showing
4 changed files
with
25 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
FROM alpine:3.19 | ||
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest | ||
|
||
ENV UID=1337 \ | ||
GID=1337 | ||
ENV UID=1000 \ | ||
GID=1000 | ||
|
||
RUN apk add --no-cache ffmpeg su-exec ca-certificates bash jq curl yq | ||
RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm | ||
|
||
# Install dependencies using microdnf | ||
RUN microdnf install -y \ | ||
shadow-utils \ | ||
ca-certificates \ | ||
bash \ | ||
jq \ | ||
libolm \ | ||
&& microdnf clean all | ||
|
||
RUN curl -sSL https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -o /usr/bin/yq && chmod +x /usr/bin/yq | ||
|
||
ARG EXECUTABLE=./mautrix-imessage | ||
COPY $EXECUTABLE /usr/bin/mautrix-imessage | ||
COPY ./example-config.yaml /opt/mautrix-imessage/example-config.yaml | ||
COPY ./docker-run.sh /docker-run.sh | ||
|
||
# Ensure the entrypoint script is executable | ||
RUN chmod +x /docker-run.sh /usr/bin/mautrix-imessage | ||
|
||
VOLUME /data | ||
|
||
CMD ["/docker-run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters