forked from cn-uofbasel/ccn-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
20 lines (15 loc) · 674 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:14.04
MAINTAINER Basil Kohler<[email protected]>
ENV DEBIAN_FRONTEND noninteractive
ENV CCNL_HOME /var/ccn-lite
ENV PATH "$PATH:$CCNL_HOME/build/bin"
ENV CCNL_PORT 9000
ENV USE_NFN 1
RUN apt-get -y update && apt-get install -y libssl-dev build-essential wget openjdk-7-jre
ADD . /var/ccn-lite
WORKDIR /var/ccn-lite
RUN mkdir build
RUN cd build && cmake ../src && make clean all
EXPOSE 9000/udp
# CMD ["/var/ccn-lite/bin/ccn-nfn-relay", "-s", "ndn2013", "-d", "test/ndntlv" "-v", "info", "-u", "$CCNL_PORT", "-x", "/tmp/ccn-lite-mgmt.sock"]
CMD /var/ccn-lite/bin/ccn-lite-relay -s ndn2013 -d test/ndntlv -v info -u $CCNL_PORT -x /tmp/ccn-lite-mgmt.sock