90DaysOfDevOps/2022/tr/Days/Containers/Dockerfile
2023-06-07 14:18:28 +03:00

9 lines
283 B
Docker

# Use the official Ubuntu 18.04 as base
FROM ubuntu:18.04
# Install nginx and curl
RUN apt-get update && apt-get upgrade -y
#RUN apt-get install -y nginx curl
#RUN rm -rf /var/lib/apt/lists/*
RUN groupadd -g 1000 basicuser && useradd -r -u 1000 -g basicuser basicuser
USER basicuser