Files
OnlyOffice-build-tools/Dockerfile
Pavel Lobashov 1cccf35968 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
2020-07-07 13:05:45 +03:00

15 lines
294 B
Docker

FROM ubuntu:14.04
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
CMD cd tools/linux && \
python3 ./automate.py