Skip to content

Commit

Permalink
[FAB-1652] Use fabric-baseos instead of busybox
Browse files Browse the repository at this point in the history
Change-Id: I72a75b2bbba32d05aad0d93ccda084fe8e16c334
Signed-off-by: Greg Haskins <[email protected]>
  • Loading branch information
ghaskins committed Jan 27, 2017
1 parent da88926 commit 05b0f1d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 41 deletions.
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,14 @@ K := $(foreach exec,$(EXECUTABLES),\
$(if $(shell which $(exec)),some string,$(error "No $(exec) in PATH: Check dependencies")))

ARCH=$(shell uname -m)
BASEIMAGE_RELEASE = 0.2.2
BASEIMAGE_RELEASE = 0.3.0
PKGNAME = github.com/hyperledger/$(PROJECT_NAME)
SAMPLECONFIG = $(shell git ls-files images/fabric-ca/config)

DOCKER_ORG = hyperledger
IMAGES = $(PROJECT_NAME) $(PROJECT_NAME)-runtime
IMAGES = $(PROJECT_NAME)

image-path-map.fabric-ca := fabric-ca
image-path-map.fabric-ca-runtime := runtime
image-path-map.fabric-ca := fabric-ca

include docker-env.mk

Expand Down Expand Up @@ -100,12 +99,9 @@ build/docker/busybox:
hyperledger/fabric-baseimage:$(BASE_DOCKER_TAG) \
make -f busybox/Makefile install BINDIR=$(@D)

build/image/$(PROJECT_NAME)/$(DUMMY): build/image/$(PROJECT_NAME)-runtime/$(DUMMY)

# payload definitions
build/image/$(PROJECT_NAME)/payload: build/docker/bin/fabric-ca \
build/sampleconfig.tar.bz2
build/image/$(PROJECT_NAME)-runtime/payload: build/docker/busybox

build/image/%/payload:
mkdir -p $@
Expand Down
27 changes: 0 additions & 27 deletions busybox/Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion images/fabric-ca/Dockerfile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM hyperledger/fabric-ca-runtime:_TAG_
FROM hyperledger/fabric-baseos:_BASE_TAG_
ENV FABRIC_CA_HOME /etc/hyperledger/fabric-ca
RUN mkdir -p $FABRIC_CA_HOME /var/hyperledger/fabric-ca
COPY payload/fabric-ca /usr/local/bin
Expand Down
6 changes: 0 additions & 6 deletions images/runtime/Dockerfile.in

This file was deleted.

0 comments on commit 05b0f1d

Please sign in to comment.