docker-taskd/Dockerfile
Jan Christian Grünhage 9eb963b4e2
All checks were successful
the build was successful
feat: template pki/vars
instead of copying the default vars file, that is wrong for nearly everyone,
this commit adds a jinja2 template that takes data from the environment

fixes #3
2018-06-22 22:22:07 +02:00

23 lines
361 B
Docker

FROM alpine:3.7
LABEL maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
ENV UID=1337 \
GID=1337 \
TASKDDATA=/data
RUN apk add --no-cache \
s6 \
su-exec \
bash \
taskd \
taskd-pki \
py2-pip \
&& pip2 install j2cli
COPY docker/root /
VOLUME /data
EXPOSE 53589
CMD ["/bin/s6-svscan", "/etc/s6.d"]