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.
pull/350/head
carla 3 years ago
parent c5ee9843cd
commit 2b206e4d45
No known key found for this signature in database
GPG Key ID: 4CA7FE54A6213C91

@ -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…
Cancel
Save