Skip to content

Instantly share code, notes, and snippets.

@nezuppo
Created January 19, 2022 14:00
Show Gist options
  • Save nezuppo/de382c851201f0b70c0045ef17c165c3 to your computer and use it in GitHub Desktop.
Save nezuppo/de382c851201f0b70c0045ef17c165c3 to your computer and use it in GitHub Desktop.
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