mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-21 19:39:43 +01:00
docker: include git hash in docker-built binary
This commit is contained in:
parent
475814d613
commit
9c4fbeabef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user