-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·27 lines (19 loc) · 931 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
FROM doccom/pentaho-bi-server-ce
WORKDIR /home/pentaho
# Set Java variables
ENV JAVA_HOME="/home/java/jre1.8.0_211"
ENV PATH="${PATH}:$JAVA_HOME/bin"
# Download Vertica JDBC drivers
RUN curl -o /home/pentaho/pentaho-server/tomcat/lib/vertica-jdbc-9.3.1-0.jar https://www.vertica.com/client_drivers/9.3.x/9.3.1-0/vertica-jdbc-9.3.1-0.jar
# Set timezone
RUN apt-get update && apt-get install tzdata \
&& /bin/bash -c "ln -snf /usr/share/zoneinfo/Europe/Moscow /etc/localtime && dpkg-reconfigure -f noninteractive tzdata"
# Allow other users to pentaho-server folder to enable external access to the volume
RUN chmod -R 777 /home/pentaho/pentaho-server
EXPOSE 8080
# Add a new user "john" with user id 8877
# RUN useradd -u 1002 a.goloborodko
# Change to non-root privilege
# USER a.goloborodko
#Run start-pentaho.sh to start Pentaho Server
CMD ["/home/pentaho/pentaho-server/start-pentaho.sh"]