90DaysOfDevOps/2022/Days/Containers/Dockerfile
2022-11-18 14:43:39 +00: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