Skip to content

Commit

Permalink
Add iproute for properly binding the address prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyou committed Oct 22, 2018
1 parent 9667138 commit dbb4512
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:6-slim

RUN apt-get update && apt-get install -y git sipcalc python build-essential libicu-dev \
RUN apt-get update && apt-get install -y git sipcalc python build-essential libicu-dev iproute2 \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

Expand All @@ -16,5 +16,4 @@ RUN npm install

ENV LD_PRELOAD /freebindfree/libfreebindfree.so

ENTRYPOINT [ "/app/docker/start.sh" ]

ENTRYPOINT ["/app/docker/start.sh"]
2 changes: 1 addition & 1 deletion docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ then
ip route add local $PREFIX dev lo
fi

exec matrix-appservice-irc $@
exec node app.js $@

0 comments on commit dbb4512

Please sign in to comment.