-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
42 lines (37 loc) · 1018 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
FROM ubuntu:14.04
MAINTAINER [email protected]
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /tmp/
RUN \
apt-get update \
&& apt-get install -y libcurl3-dev libxslt1-dev libxml2-dev libedit2 \
build-essential bison dh-autoreconf git libpcre3-dev libbz2-dev libssh2-1 \
\
&& git clone https://github.com/Juniper/libslax.git \
&& cd libslax \
&& sh bin/setup.sh \
&& cd build && ../configure --libdir=/usr/lib/x86_64-linux-gnu \
&& make && make install \
\
&& cd ../.. && git clone https://github.com/Juniper/lighttpd-for-juise.git \
&& cd lighttpd-for-juise \
&& sh bin/setup.sh \
&& cd build \
&& ../configure --libdir=/usr/lib/x86_64-linux-gnu \
&& make \
&& make install \
\
&& cd ../.. \
&& git clone https://github.com/Juniper/juise.git \
&& cd juise \
&& sh bin/setup.sh && cd build \
&& ../configure --libdir=/usr/lib/x86_64-linux-gnu \
&& make && make install \
\
&& apt-get clean \
&& apt-get purge \
\
&& rm -rf /tmp
WORKDIR /import
RUN cp /usr/local/share/juise/import/junos.xsl ./junos.xsl
EXPOSE 3000