Public Repository

Last pushed: 5 months ago
Short Description
NGINX-LE - Nginx web and proxy with automatic let's encrypt
Full Description

This just armhf version the container

#!/bin/sh

ARCH=armhf
rm -rf ${ARCH}/
git clone https://github.com/umputun/nginx-le.git ${ARCH}/
docker run --rm --privileged multiarch/qemu-user-static:register --reset

cat << 'EOF' > ${ARCH}/Dockerfile
FROM multiarch/alpine:armhf-v3.5

RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.5/community" >> /etc/apk/repositories
RUN \
    apk add --no-cache nginx certbot tzdata openssl && \
    rm /etc/nginx/conf.d/default.conf && \
    rm -rf /var/cache/apk/*

ADD conf/nginx.conf /etc/nginx/nginx.conf
ADD script/entrypoint.sh /entrypoint.sh
ADD script/le.sh /le.sh
RUN chmod +x /entrypoint.sh && chmod +x /le.sh

CMD ["/entrypoint.sh"]
EOF

docker build -t lafin/alpine-armhf-nginx-le:latest ${ARCH}
Docker Pull Command
Owner
lafin

Comments (0)