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

15 lines
359 B
Plaintext
Raw Normal View History

2019-11-17 15:24:26 +01:00
IMAGE alpine3.8-nginx_1.14.2-191115
LAYER alpine3.8_3.8.4-190620
RUN EOF
2019-11-17 21:28:21 +01:00
# 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
2019-11-17 15:24:26 +01:00
apk --no-cache add nginx
EOF
CMD nginx -g "daemon off;"