mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
ci: dockerfile: apply apt-get best-practices
This commit is contained in:
@@ -2,9 +2,13 @@
|
|||||||
ARG ubuntu_version=20.04
|
ARG ubuntu_version=20.04
|
||||||
FROM ubuntu:${ubuntu_version}
|
FROM ubuntu:${ubuntu_version}
|
||||||
|
|
||||||
RUN apt-get update --yes
|
RUN apt-get update \
|
||||||
|
&& apt-get install --yes \
|
||||||
RUN apt-get install --yes systemd curl git sudo
|
systemd \
|
||||||
|
curl \
|
||||||
|
git \
|
||||||
|
sudo \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Kill all the things we don't need
|
# Kill all the things we don't need
|
||||||
RUN find /etc/systemd/system \
|
RUN find /etc/systemd/system \
|
||||||
|
|||||||
Reference in New Issue
Block a user