From 04b1c2b4aa0530dd9bdbf849c4ea33644b719c1d Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Tue, 8 Mar 2022 22:05:05 -0800 Subject: fixup some stuff --- src/go-echo/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/go-echo/Dockerfile (limited to 'src/go-echo/Dockerfile') diff --git a/src/go-echo/Dockerfile b/src/go-echo/Dockerfile new file mode 100644 index 0000000..2c8a082 --- /dev/null +++ b/src/go-echo/Dockerfile @@ -0,0 +1,12 @@ +ARG BASE_VER=latest +FROM golang:1.17-bullseye + +WORKDIR /app + +RUN git clone https://git.ofmax.li/go-echo \ + && cd go-echo \ + && go build -o /go-echo + +FROM registry.gitlab.com/grumps/grumpy-containers/base:${BASE_VER} +COPY --from=0 /app/go-echo /opt/app/go-echo +CMD [ "/opt/app/go-echo" ] -- cgit v1.2.3