mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
dockerfile: use make rather than go install
Using straight install does not set our current commit hash for the daemon running in the docker container.
This commit is contained in:
parent
c5ee9843cd
commit
2b206e4d45
2 changed files with 4 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ ENV GO111MODULE on
|
|||
RUN apk add --no-cache --update alpine-sdk \
|
||||
git \
|
||||
make \
|
||||
&& cd /go/src/github.com/lightningnetwork/loop/cmd \
|
||||
&& go install ./...
|
||||
&& cd /go/src/github.com/lightningnetwork/loop \
|
||||
&& make install
|
||||
|
||||
# Start a new, final image to reduce size.
|
||||
FROM alpine as final
|
||||
|
|
|
|||
|
|
@ -28,3 +28,5 @@ This file tracks release notes for the loop client.
|
|||
#### Breaking Changes
|
||||
|
||||
#### Bug Fixes
|
||||
* The loop dockerfile has been updated to use the `make` command so that the
|
||||
latest commit hash of the code being run will be included in `loopd`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue