Spotter-VM/lxc-shared/alpine3.8-nginx/lxcfile

15 lines
359 B
Plaintext

IMAGE alpine3.8-nginx_1.14.2-191115
LAYER alpine3.8_3.8.4-190620
RUN EOF
# Add nginx user (which will be picked up later by apk add)
addgroup -Sg 1080 nginx 2>/dev/null
adduser -Su 1080 -D -H -h /var/lib/nginx -s /sbin/nologin -G nginx -g nginx nginx 2>/dev/null
# Install nginx
apk --no-cache add nginx
EOF
CMD nginx -g "daemon off;"