forked from telephoneorg/tmpld
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
29 lines (21 loc) · 789 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM telephoneorg/debian:stretch
MAINTAINER Joe Black <[email protected]>
ADD https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 /dumb-init
RUN chmod +x /dumb-init
LABEL lang.python.version=3
LABEL app.name=tmpld
# python3-lxml
RUN apt-get update && \
apt-get install -yqq python3 python3-pip && \
apt-clean --aggressive && \
pip3 install --upgrade pip requests setuptools
ARG TMPLD_VERSION
ENV TMPLD_VERSION=${TMPLD_VERSION:-0.2.9}
LABEL app.version=${TMPLD_VERSION}
RUN pip3 install tmpld==$TMPLD_VERSION
ENV TMPLD_ENVIRONMENT production
ENV TMPLD_LOG_LEVEL INFO
ENV KUBE_NAMESPACE default
ENV KUBE_DOMAIN cluster.local
ENTRYPOINT ["/bin/bash", "-lc"]
CMD ["tmpld"]