diff options
author | Tom Willemse | 2020-11-15 20:53:01 -0800 |
---|---|---|
committer | Tom Willemse | 2020-11-15 20:53:01 -0800 |
commit | 3ef60b7cf7dc92c5d5ae9b055b857991c7b66d2f (patch) | |
tree | 4b84407ddf77f5c3f5c67f21cc98475e647c5a3b | |
parent | 6bfbcb4850ae5814127ddc4a023d3dbdfaad83a5 (diff) | |
download | crafting-interpreters-3ef60b7cf7dc92c5d5ae9b055b857991c7b66d2f.tar.gz crafting-interpreters-3ef60b7cf7dc92c5d5ae9b055b857991c7b66d2f.zip |
Fix Dockerfile
When not using the noninteractive front-end the installation blocks to ask which
timezone to use.
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |