diff options
Diffstat (limited to '')
| -rw-r--r-- | src/go-echo/Dockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
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" ] |