]> git.gsnw.org Git - fping.git/commitdiff
Move to contrib folder
authordarless1 <3382617+darless1@users.noreply.github.com>
Tue, 6 Dec 2022 19:03:16 +0000 (13:03 -0600)
committerDavid Schweikert <david@schweikert.ch>
Thu, 7 Sep 2023 06:48:53 +0000 (08:48 +0200)
contrib/Dockerfile [new file with mode: 0644]

diff --git a/contrib/Dockerfile b/contrib/Dockerfile
new file mode 100644 (file)
index 0000000..dbdda2b
--- /dev/null
@@ -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