This repository was archived by the owner on Dec 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (29 loc) · 1.28 KB
/
Dockerfile
File metadata and controls
33 lines (29 loc) · 1.28 KB
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
FROM jbfavre/minideb:jessie
MAINTAINER Jean Baptiste Favre <docker@jbfavre.org>
ENV SHELL "/bin/bash"
ENV DEBIAN_FRONTEND noninteractive
ENV TERM 1
ENV VERSION=4.0.3
ADD scripts /tmp/
RUN /usr/bin/apt-get update -yqq \
&& /usr/bin/apt-get upgrade --no-install-recommends -yqq \
&& /usr/bin/apt-get install --no-install-recommends -yqq locales \
&& /usr/bin/apt-get install --no-install-recommends -yqq acl curl git \
libexpat1 zip unzip nginx default-jre-headless python2.7 libpython2.7 \
libfreetype6 libgfortran3 libgomp1 \
&& /usr/bin/chsh -s /bin/bash root \
&& /bin/rm /bin/sh && ln -s /bin/bash /bin/sh \
&& /usr/sbin/groupadd -r dataiku \
&& /usr/sbin/useradd -r -m -s /bin/bash -g dataiku dataiku \
&& /bin/echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& /usr/sbin/locale-gen \
&& /usr/bin/curl -SL -o /tmp/dataiku-dss.tar.gz \
https://downloads.dataiku.com/public/studio/${VERSION}/dataiku-dss-${VERSION}.tar.gz \
&& /bin/su - dataiku -c '/bin/tar xzf /tmp/dataiku-dss.tar.gz -C /home/dataiku --strip-components=1' \
&& /bin/rm /tmp/dataiku-dss.tar.gz \
&& /bin/mkdir -p /var/lib/dataiku \
&& /bin/mkdir -p /etc/dataiku \
&& /bin/mkdir -p /var/cache/dataiku \
&& /bin/chown -R dataiku: /var/lib/dataiku \
&& /bin/bash /tmp/debian_cleaner.sh
ENTRYPOINT ['/bin/bash']