-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
59 lines (43 loc) · 1.15 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
54
55
56
57
58
#
# HUE Filebrowser for IBM Analytics for Apache Hadoop service
#
#
# Pull base image.
FROM ubuntu:14.04.2
MAINTAINER David Carew <carew@us.ibm.com>
# Install required packages
RUN \
apt-get update && \
apt-get install -y build-essential \
python-dev \
python-pip \
rsync \
libsasl2-dev \
libmysqlclient-dev \
libkrb5-dev \
libxml2-dev \
libxslt-dev \
libsqlite3-dev \
libssl-dev \
libldap2-dev \
libgmp-dev
# Define working directory
WORKDIR /data
# Create an install directory
RUN mkdir install
# Copy Hue prod distribution with Bluemix changes
ADD hue-3.8.1-bluemix.tar.gz /data/install
# Uncomment this to write debug messages from Hue to stderr
#ENV DESKTOP_DEBUG true
# Install Hue
RUN \
cd /data/install/hue-3.8.1-bluemix && make install && rm -fr /data/install/hue-3.8.1-bluemix
# Add files to customize Hue config
ADD update-hue-ini.py /data/install/update-hue-ini.py
ADD hue-template.ini /data/install/hue-template.ini
# Script to start HUE
ADD start-hue.sh /data/install/start-hue.sh
RUN chmod +x /data/install/start-hue.sh
# Hue listening on port 8000
EXPOSE 8000
CMD ["/data/install/start-hue.sh"]