blob: 2c665bd580dd24b4787934ab0bafcbdf2b32511e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
FROM ubuntu:18.04
RUN apt-get update && apt-get -y install git avahi-daemon autoconf automake libtool make libgnutls28-dev
RUN mkdir -p /root/src/
# Get FreeCoAP test server
WORKDIR /root/src
RUN git clone https://github.com/keith-cullen/FreeCoAP.git
WORKDIR /root/src/FreeCoAP
RUN autoreconf --install
RUN ./configure
RUN make
RUN make install
WORKDIR /root/src/FreeCoAP/sample/time_server
RUN make
WORKDIR /
EXPOSE 5685/udp
|