forked from mesos/chronos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
16 lines (14 loc) · 811 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM java:8-jre
ARG http_proxy
ENV http_proxy ${http_proxy}
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E56151BF \
&& echo "deb http://repos.mesosphere.com/debian jessie-unstable main" | tee /etc/apt/sources.list.d/mesosphere.list \
&& echo "deb http://repos.mesosphere.com/debian jessie-testing main" | tee -a /etc/apt/sources.list.d/mesosphere.list \
&& echo "deb http://repos.mesosphere.com/debian jessie main" | tee -a /etc/apt/sources.list.d/mesosphere.list \
&& apt-get update \
&& apt-get install --no-install-recommends -y --force-yes mesos=1.0.1-2.0.93.debian81 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD ./tmp/chronos.jar /chronos/chronos.jar
ADD bin/start.sh /chronos/bin/start.sh
ENTRYPOINT ["/chronos/bin/start.sh"]