-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
47 lines (34 loc) · 921 Bytes
/
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
FROM ubuntu:xenial
# Update ubuntu
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get clean
# Install necessary tools
RUN apt-get install -y software-properties-common \
&& add-apt-repository ppa:openjdk-r/ppa \
&& apt-get update \
&& apt-get install -y zip \
&& apt-get install -y curl \
&& apt-get install -y htop \
&& apt-get install -y vim \
&& apt-get install -y wget \
&& apt-get install -y sudo \
&& apt-get install -y unzip \
&& apt-get install -y openjdk-8-jdk \
&& apt-get clean
COPY resources/ /opt/
# Environment variables
# mule home
ENV MULE_HOME /opt/mule
# default environment - can be passed as argument
ENV MULE_ENV sandbox
# download and install mule ce runtime
RUN chmod 755 /opt/mule-install.sh
RUN /opt/mule-install.sh
WORKDIR /opt/mule
# Default ports - may vary per configuration
# http.port
EXPOSE 8081
# https.port
EXPOSE 8082
CMD [ "/opt/mule/bin/mule-start.sh" ]