Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
add todo into dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramtamtam committed Feb 24, 2020
1 parent dbe0747 commit f986539
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN set -x \
COPY . /src

RUN set -x \
# @todo: replace git-depencency with build arguments
&& export version=`git symbolic-ref -q --short HEAD || git describe --tags --exact-match`@`git rev-parse --short HEAD` \
&& GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X mikrotik-hosts-parser/version.version=${version}" . \
&& ./mikrotik-hosts-parser version \
Expand Down

0 comments on commit f986539

Please sign in to comment.