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
This commit is contained in:
Pavel Lobashov
2020-07-07 13:05:45 +03:00
committed by GitHub
parent 03823fe084
commit 1cccf35968

View File

@ -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