Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM ubuntu:16.04 AS build

SHELL ["/bin/bash", "-c"]

RUN <<EOF
set -euxo pipefail
apt-get update
apt-get install -y --no-install-recommends make g++
rm -rf /var/lib/apt/lists/*
EOF

WORKDIR /

COPY ./src .

RUN <<EOF
set -euxo pipefail
make
EOF

FROM ubuntu:16.04

COPY --from=build /ITGSend/ITGSend /usr/local/bin

ENTRYPOINT [ "ITGSend" ]
7 changes: 6 additions & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,10 @@ We report in the following some guidelines specific for each supported operating

- IPv6, DCCP and SCTP are currently not supported under OSX.

Docker
---

docker build -t ditg .


# help
docker run -it --rm ditg -h