Skip to content

Commit

Permalink
Patch Dockerfiles
Browse files Browse the repository at this point in the history
Dockerfile.bridge -> ENTRYPOINT to CMD for more flexibility with the image later.
Dockerfile.matrix -> Synapse log config has been patched into the image itself.
  • Loading branch information
encadyma committed May 1, 2020
1 parent 9da37ab commit 0076237
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile.bridge
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
ARG bridge_version=latest
FROM matrixdotorg/matrix-appservice-irc:${bridge_version}

# Unset ENTRYPOINT for easier operability in the image
ENTRYPOINT []
CMD ["/app/docker/start.sh"]
2 changes: 2 additions & 0 deletions Dockerfile.matrix
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
ARG synapse_version=latest
FROM matrixdotorg/synapse:${synapse_version}

COPY synapse.log.config /etc/matrix/synapse.log.config
2 changes: 1 addition & 1 deletion kubernetes/secrets/synapse-config/homeserver.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ database:
args:
database: "/data/homeserver.db"

log_config: "/etc/matrix-synapse/synapse.log.config"
log_config: "/etc/matrix/synapse.log.config"

media_store_path: "/data/media_store"
enable_registration: false
Expand Down
File renamed without changes.

0 comments on commit 0076237

Please sign in to comment.