Commit 4d96b141 authored by Steve Hook's avatar Steve Hook Committed by John Selbie

add docker image + update the README files (#24)

* add docker image + update the README files
parent 0503e128
FROM ubuntu:latest
EXPOSE 3478/tcp 3478/udp
USER root
RUN set -ex && \
apt-get update && \
apt-get install -y build-essential && \
apt-get install -y libboost-all-dev && \
apt-get install -y libssl-dev && \
apt-get install -y g++ && \
apt-get install -y make && \
apt-get install -y git && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*
RUN cd /opt && git clone https://github.com/jselbie/stunserver.git && cd stunserver && make
WORKDIR /opt/stunserver
HEALTHCHECK CMD /opt/stunserver/stunclient localhost
ENTRYPOINT ["/opt/stunserver/stunserver"]
......@@ -163,6 +163,14 @@ Feature roadmap (the features I want to implement in a subsequent release)
---------------------------------------------------------
Docker
1. `docker image build -t=stun-server-image .`
2. `docker container run -d -p 3478:3478/tcp -p 3478:3478/udp
--name=stun-container stun-server-image`
---------------------------------------------------------
Contact the author
......
......@@ -163,6 +163,14 @@ Feature roadmap (the features I want to implement in a subsequent release)
---------------------------------------------------------
Docker
1. `docker image build -t=stun-server-image .`
2. `docker container run -d -p 3478:3478/tcp -p 3478:3478/udp
--name=stun-container stun-server-image`
---------------------------------------------------------
Contact the author
......
......@@ -113,6 +113,13 @@ Feature roadmap (the features I want to implement in a subsequent release)
---------------------------------------------------------
Docker
1. `docker image build -t=stun-server-image .`
2. `docker container run -d -p 3478:3478/tcp -p 3478:3478/udp --name=stun-container stun-server-image`
---------------------------------------------------------
Contact the author
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment