mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-01-03 13:30:00 +07:00
9 lines
283 B
Docker
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
|