Base on Ubuntu Focal. (#747)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index e5674ea..c80c23c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM debian:buster AS stage_build
+FROM ubuntu:focal AS stage_build
ARG EMSCRIPTEN_VERSION=tot
ENV EMSDK /emsdk
@@ -56,7 +56,7 @@
# -------------------------------- STAGE DEPLOY --------------------------------
# ------------------------------------------------------------------------------
-FROM debian:buster-slim AS stage_deploy
+FROM ubuntu:focal AS stage_deploy
COPY --from=stage_build /emsdk /emsdk
@@ -86,10 +86,11 @@
# ------------------------------------------------------------------------------
RUN echo "## Update and install packages" \
- # mitigate problem with create symlink to man for base debian image
- && mkdir -p /usr/share/man/man1/ \
&& apt-get -qq -y update \
- && apt-get -qq install -y --no-install-recommends \
+ # Somewhere in here apt sets up tzdata which asks for your time zone and blocks
+ # waiting for the answer which you can't give as docker build doesn't read from
+ # the terninal. The env vars set here avoid the interactive prompt and set the TZ.
+ && DEBIAN_FRONTEND="noninteractive" TZ="America/San_Francisco" apt-get -qq install -y --no-install-recommends \
sudo \
libxml2 \
ca-certificates \