From e20939ebfe132b296334072c4edd2a9710f8f486 Mon Sep 17 00:00:00 2001 From: darless1 <3382617+darless1@users.noreply.github.com> Date: Tue, 6 Dec 2022 13:03:16 -0600 Subject: [PATCH] Move to contrib folder --- contrib/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 contrib/Dockerfile diff --git a/contrib/Dockerfile b/contrib/Dockerfile new file mode 100644 index 0000000..dbdda2b --- /dev/null +++ b/contrib/Dockerfile @@ -0,0 +1,16 @@ +FROM ubuntu:20.04 + +# Base +RUN apt-get update && apt-get install -y \ + build-essential \ + automake \ + m4 + +# Add source code +COPY ./ /app + +# Compile +WORKDIR /app +RUN autoreconf --install +RUN ./configure && make && make install +ENTRYPOINT ["fping"] \ No newline at end of file