Merge pull request #350 from carlaKC/docker-make

dockerfile: use make rather than go install
This commit is contained in:
Carla Kirk-Cohen 2021-03-05 11:10:33 +02:00 committed by GitHub
commit 6d4d53ca30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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`.