1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/piknik/Dockerfile
2018-05-02 18:43:28 +08:00

22 lines
553 B
Docker

#
# Dockerfile for piknik
#
FROM alpine
MAINTAINER kev <norely@easypi.pro>
ENV PIKNIK_VERSION 0.9.1
ENV PIKNIK_FILE piknik-linux_x86_64-${PIKNIK_VERSION}.tar.gz
ENV PIKNIK_URL https://github.com/jedisct1/piknik/releases/download/${PIKNIK_VERSION}/${PIKNIK_FILE}
RUN set -xe \
&& apk add --no-cache curl libc6-compat tar \
&& curl -sSL ${PIKNIK_URL} | tar xz -C /usr/local/bin --strip 1 linux-x86_64/piknik \
&& ln -s /lib /lib64 \
&& apk del curl tar
EXPOSE 8075
ENTRYPOINT ["piknik"]
CMD ["-config", "/etc/piknik.toml", "-server"]