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