aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/shared/testserver/californium/Dockerfile
blob: 90722510c4d8e381f2690f0e2cf7df921ba389f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM ubuntu:18.04

RUN apt-get update && apt-get -y install git maven default-jdk avahi-daemon

RUN mkdir -p /root/src/

# Get californium-based CoAP test server
WORKDIR /root/src
RUN git clone https://github.com/selart/californium.git
WORKDIR /root/src/californium
RUN mvn clean install -q -DskipTests

WORKDIR /

EXPOSE 5683/udp 5684/udp