From affccd57c036b5b690bcc25021fbac695771c909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Tue, 11 May 2021 23:04:17 +0100 Subject: [PATCH] Add a basic Docker file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jelmer Vernooij --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..330ce0c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM golang:1.16 + +WORKDIR /go/src/app +COPY . . + +RUN go get -d -v ./... +RUN go install -v ./... + +CMD ["alertmanager-irc-relay", "--config=/config.yml"]