Created
February 17, 2018 14:33
-
-
Save andersonkxiass/ab72b584f69733a4b93c657308c3f42b to your computer and use it in GitHub Desktop.
Dockerfile for uniqush setup
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
FROM debian:stable | |
LABEL Anderson C Silva <[email protected]> | |
ENV DEBIAN_FRONTEND noninteractive | |
ARG UNIQUSH_VERSION=2.4.0 | |
WORKDIR /opt/uniqush | |
COPY uniqush-push.conf ./ | |
ADD https://github.com/uniqush/uniqush-push/releases/download/${UNIQUSH_VERSION}/uniqush-push_${UNIQUSH_VERSION}_amd64.deb /tmp/ | |
RUN dpkg -i /tmp/uniqush-push_${UNIQUSH_VERSION}_amd64.deb && rm /tmp/uniqush-push_${UNIQUSH_VERSION}_amd64.deb | |
RUN apt-get -q update && \ | |
apt-get -q -y --no-install-recommends install \ | |
ca-certificates && \ | |
apt-get -q clean && \ | |
apt-get -q -y autoremove && \ | |
rm -rf /var/lib/apt/lists/* | |
EXPOSE 9898 | |
CMD uniqush-push -config /opt/uniqush/uniqush-push.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment