Fix Dockerfile

When not using the noninteractive front-end the installation blocks to ask which
timezone to use.
This commit is contained in:
Tom Willemse 2020-11-15 20:53:01 -08:00
parent 6bfbcb4850
commit 3ef60b7cf7

View file

@ -1,5 +1,7 @@
FROM ubuntu:latest
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y build-essential cmake default-jdk-headless
RUN export DEBIAN_FRONTEND=noninteractive \
&& ln -fs /usr/share/zoneinfo/America/Vancouver /etc/localtime \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y build-essential cmake default-jdk-headless