Remove stunnel user from Dockerfile

This commit is contained in:
Oliver Traber 2021-06-03 01:33:19 +02:00
parent 47ed0f0695
commit 8d7b875189
Signed by: Bluemedia
GPG key ID: C7BA47275B086E2C

View file

@ -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/