Skip to content

Commit

Permalink
Set DOCKER_DYNAMIC_LINK to true
Browse files Browse the repository at this point in the history
Docker images were being built with statically
linked binaries.  This has caused a number of
issues with calling cgo-based user and
resolver functions.

FAB-15026 #done

Change-Id: I58d3db7f0c1f820cf15158621a7646945423c530
Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
  • Loading branch information
mastersingh24 committed Oct 17, 2019
1 parent 59d4adc commit 5cbfc4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-env.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PREV_TAG=$(ARCH)-$(PREV_VERSION)

BASE_DOCKER_LABEL=org.hyperledger.fabric

DOCKER_DYNAMIC_LINK ?= false
DOCKER_DYNAMIC_LINK ?= true
DOCKER_GO_LDFLAGS += $(GO_LDFLAGS)

ifeq ($(DOCKER_DYNAMIC_LINK),false)
Expand Down

0 comments on commit 5cbfc4f

Please sign in to comment.