Fix: Remove escape
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a338cf58d0
commit
f98389b81a
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ WORKDIR /go/src/{{ .package }}
|
|||
|
||||
RUN set -ex \
|
||||
&& apk add --update git \
|
||||
&& go install -ldflags "-X main.version=\$(git describe --tags || git rev-parse --short HEAD || echo dev)"
|
||||
&& go install -ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)"
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
|
|
Loading…
Reference in a new issue