From 2b206e4d45954d17e8c488894f05d0fce40e1a99 Mon Sep 17 00:00:00 2001 From: carla Date: Fri, 5 Mar 2021 11:07:28 +0200 Subject: [PATCH] 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. --- Dockerfile | 4 ++-- release_notes.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 759f93d..8962961 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/release_notes.md b/release_notes.md index b2190ac..f20ab32 100644 --- a/release_notes.md +++ b/release_notes.md @@ -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`.