-
Notifications
You must be signed in to change notification settings - Fork 708
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-1470] Fix docker-clean Makefile target
The docker-clean target was not deleting the Docker images as expected because of the way variable substition was working. This patch modifies the Makefile by adding additional environment variables in order to fix this issue. While there were several ways to solve this, this approach allows for chainging the name of the project in the future without having to make multiple changes in the Makefile Change-Id: I683f1ba5fbc6ac4c9bce9bcb82922c371f2362aa Signed-off-by: mastersingh <[email protected]>
- Loading branch information
1 parent
776c117
commit bdea0cf
Showing
2 changed files
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
FROM hyperledger/fabric-cop-runtime:_TAG_ | ||
ENV COP_HOME /etc/hyperledger/fabric-cop | ||
RUN mkdir -p /etc/hyperledger/fabric-cop | ||
COPY payload/cop /usr/local/bin | ||
COPY payload/fabric-cop /usr/local/bin | ||
RUN mv /usr/local/bin/fabric-cop /usr/local/bin/cop | ||
EXPOSE 8888 | ||
CMD cop |