/
Dockerfile-github-ubuntu-20.04
38 lines (29 loc) · 1.23 KB
/
Dockerfile-github-ubuntu-20.04
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM ubuntu:20.04
ARG ZM_BUILD_RELEASE_NO
ENV DEBIAN_FRONTEND=noninteractive
# Some ideas were taken from: https://github.com/Zimbra/zm-base-os
# SYSTEM
RUN apt-get -qq update
RUN apt-get -qq dist-upgrade -y
RUN apt-get -qq autoremove -y
RUN apt-get -qq install -y apt-utils
RUN apt-get -qq install -y ca-certificates tzdata
RUN apt-get -qq install -y curl wget
RUN apt-get -qq install -y software-properties-common
RUN apt-get -qq install -y apt-transport-https
RUN apt-get -qq install -y sudo
# ENVIRONMENT
RUN apt-get -qq install -y git perl ruby
RUN apt-get -qq install -y pkg-config libidn11-dev libwww-perl libz-dev libaio-dev libncurses-dev libexpat-dev libpcre3-dev libperl-dev libpopt-dev libbz2-dev libtest-simple-perl libsocket6-perl libtest-inter-perl libtest-warn-perl libtest-deep-perl debhelper
RUN apt-get -qq install -y build-essential
RUN apt-get -qq install -y openjdk-8-jdk ant ant-optional maven rsync
RUN apt-get -qq install -y locales
RUN curl https://rclone.org/install.sh | sudo bash
RUN locale-gen en_US.UTF-8
RUN mkdir -p /home/build/installer-build
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
WORKDIR /home/build
ENTRYPOINT ["/usr/local/zimbra-foss-builder/zimbra-smart-builder.sh"]
CMD ["10.0.7"]