Commit bbe997ee authored by Carlo Landmeter's avatar Carlo Landmeter

dockerfile: base on mqtt-exec

parent 4af3437e
FROM alpine:edge
FROM alpinelinux/mqtt-exec
ENV VERSION=master
ENV NQDIR=/tmp
RUN apk add --no-cache git openssh-client nq lua5.3-cjson lua5.3-http \
lua5.3-lustache lua5.3-lyaml lua-penlight mqtt-exec && \
mkdir -p /usr/share/alpine-mirror-status /var/www/localhost/htdocs && \
wget -qO- https://github.com/alpinelinux/alpine-mirror-status/archive/$VERSION.tar.gz | \
tar -zx --strip-components=1 -C /usr/share/alpine-mirror-status
SHELL [ "/bin/ash", "-eo", "pipefail", "-c" ]
RUN apk add --no-cache git \
openssh-client \
nq \
lua5.3-cjson \
lua5.3-http \
lua5.3-lustache \
lua5.3-lyaml \
lua-penlight && \
mkdir -p /usr/share/alpine-mirror-status /var/www/localhost/htdocs && \
wget -qO- https://github.com/alpinelinux/alpine-mirror-status/archive/master.tar.gz | \
tar -zx --strip-components=1 -C /usr/share/alpine-mirror-status
COPY scripts /usr/local/bin
CMD mqtt-exec -h msg.alpinelinux.org -p 8883 --cafile /etc/ssl/cert.pem -v \
-t git/infra/mirrors/master -- /usr/bin/nq update.sh
CMD [ "/usr/bin/nq", "update.sh" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment