3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-14 16:09:32 +01:00

docker: include git hash in docker-built binary

This commit is contained in:
Shivaram Lingamneni 2021-11-03 01:58:04 -04:00
parent 475814d613
commit 9c4fbeabef

View File

@ -1,7 +1,7 @@
## build ergo binary
FROM golang:1.17-alpine3.13 AS build-env
RUN apk add -U --force-refresh --no-cache --purge --clean-protected -l -u make
RUN apk add -U --force-refresh --no-cache --purge --clean-protected -l -u make git
# copy ergo source
WORKDIR /go/src/github.com/ergochat/ergo