mirror of
https://github.com/BluemediaGER/nginx-live.git
synced 2024-11-23 02:05:28 +01:00
Remove stunnel user from Dockerfile
This commit is contained in:
parent
47ed0f0695
commit
8d7b875189
10
Dockerfile
10
Dockerfile
|
@ -1,14 +1,14 @@
|
||||||
# The Base Image used to create this Image
|
# Base Image used to create this Image
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
|
|
||||||
# Just my name who wrote this file
|
# Maintainer
|
||||||
LABEL maintainer="oliver@traber-info.de"
|
LABEL maintainer="oliver@traber-info.de"
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
ENV RTMP_PORT 1935
|
ENV RTMP_PORT 1935
|
||||||
ENV HTTP_PORT 8080
|
ENV HTTP_PORT 8080
|
||||||
|
|
||||||
# Update and install logrotate
|
# Update and install packages
|
||||||
RUN apt update -y && \
|
RUN apt update -y && \
|
||||||
apt upgrade -y && \
|
apt upgrade -y && \
|
||||||
apt autoremove -y && \
|
apt autoremove -y && \
|
||||||
|
@ -16,8 +16,8 @@ RUN apt update -y && \
|
||||||
apt clean && \
|
apt clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
# Create users
|
# Create nginx user
|
||||||
RUN useradd -s /bin/false stunnel && useradd -s /bin/false nginx
|
RUN useradd -s /bin/false nginx
|
||||||
|
|
||||||
# Copy files into image
|
# Copy files into image
|
||||||
COPY config/ /template/
|
COPY config/ /template/
|
||||||
|
|
Loading…
Reference in a new issue