From 1cccf35968596fc3c975e2dc18427bdc86d9ad1e Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Tue, 7 Jul 2020 13:05:45 +0300 Subject: [PATCH] Actualize dockerfile for builds on newer base systems (#114) * `sudo` and `python3` already installed on `ubuntu:14.04` base image, but need to be installed manually on newer ones * Installing update on `ubuntu:20.04` hangup on configure of `tzdata`. Manually specify sepcific TZ data to skip this process --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0afa8aa..e317e27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,11 @@ FROM ubuntu:14.04 -RUN apt-get -y update +ENV TZ=Etc/UTC +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +RUN apt-get -y update && \ + apt-get -y install python3 \ + sudo ADD . /build_tools WORKDIR /build_tools