Fix Dockerfile
When not using the noninteractive front-end the installation blocks to ask which timezone to use.
This commit is contained in:
parent
6bfbcb4850
commit
3ef60b7cf7
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN export DEBIAN_FRONTEND=noninteractive \
|
||||||
|
&& ln -fs /usr/share/zoneinfo/America/Vancouver /etc/localtime \
|
||||||
|
&& apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
&& apt-get install -y build-essential cmake default-jdk-headless
|
&& apt-get install -y build-essential cmake default-jdk-headless
|
||||||
|
|
Loading…
Reference in a new issue