Created
January 19, 2022 14:00
-
-
Save nezuppo/de382c851201f0b70c0045ef17c165c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
RUN apt update && apt -y upgrade | |
RUN apt update && apt -y upgrade | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt install -y ubuntu-minimal | |
RUN apt install -y ubuntu-standard | |
RUN apt install -y ubuntu-server | |
RUN apt install -y \ | |
colordiff \ | |
tree | |
RUN apt-get clean | |
RUN rm -rf /var/lib/apt/lists/* | |
RUN locale-gen en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LANGUAGE en_US:en | |
ENV LC_ALL en_US.UTF-8 | |
RUN useradd \ | |
--create-home \ | |
--groups sudo \ | |
--shell /bin/bash \ | |
worker | |
RUN echo 'worker:worker' | chpasswd | |
USER worker | |
RUN mkdir /home/worker/Desktop | |
WORKDIR /home/worker/Desktop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment