-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
53 lines (40 loc) · 1.73 KB
/
Dockerfile
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
FROM ubuntu:18.04
USER root
# this is a non-interactive automated build - avoid some warning messages
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get install -y \
software-properties-common unzip \
ca-certificates \
openssh-client \
curl \
openssl \
wget \
gnupg2 \
nano
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
RUN apt-add-repository "deb http://repos.azul.com/azure-only/zulu/apt stable main"
RUN apt-get -y install zulu-11-azure-jdk
# openjdk-11-jre \
# openjdk-11-jdk
# install JDK
#RUN echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic main" | tee /etc/apt/sources.list.d/linuxuprising-java.list
#RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 73C3DB2A
#RUN apt-get update
#RUN echo oracle-java11-installer shared/accepted-oracle-license-v1-2 select true | /usr/bin/debconf-set-selections
#RUN apt -y install oracle-java11-set-default
#RUN java -version
# remove download archive files
RUN apt-get clean
ENV JAVA_HOME /usr/lib/jvm/zulu-11-azure-amd64/
# Download Talend Open Studio for ESB
RUN curl -sSo /opt/TOS_ESB-20190620_1446-V7.2.1.zip https://download-mirror2.talend.com/esb/release/V7.2.1/TOS_ESB-20190620_1446-V7.2.1.zip > /dev/null
# Install Talend Open Studio for ESB
RUN unzip /opt/TOS_ESB-20190620_1446-V7.2.1.zip -d /opt/TOS_ESB && \
rm /opt/TOS_ESB-20190620_1446-V7.2.1.zip && \
rm -rf /opt/TOS_ESB/Studio && \
chmod 777 /opt/TOS_ESB/Runtime_ESBSE/container/bin/trun && \
chmod 777 /opt/TOS_ESB/Runtime_ESBSE/container/bin/start
VOLUME ["/opt/TOS_ESB/Runtime_ESBSE/container/deploy"]
EXPOSE 1099 8040/tcp 8080 8101 8181 8443 9001 44444