mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
ci: dockerfile: avoid being asked question during apt-get
This commit is contained in:
@@ -2,7 +2,10 @@
|
|||||||
ARG ubuntu_version=20.04
|
ARG ubuntu_version=20.04
|
||||||
FROM ubuntu:${ubuntu_version}
|
FROM ubuntu:${ubuntu_version}
|
||||||
|
|
||||||
RUN apt-get update \
|
# DEBIAN_FRONTEND is set to avoid being asked for input and hang during build:
|
||||||
|
# https://anonoz.github.io/tech/2020/04/24/docker-build-stuck-tzdata.html
|
||||||
|
RUN DEBIAN_FRONTEND=noninteractive \
|
||||||
|
&& apt-get update \
|
||||||
&& apt-get install --yes \
|
&& apt-get install --yes \
|
||||||
systemd \
|
systemd \
|
||||||
curl \
|
curl \
|
||||||
|
|||||||
Reference in New Issue
Block a user