Skip to content

Commit

Permalink
Update the image
Browse files Browse the repository at this point in the history
Signed-off-by: David VIEJO <[email protected]>
  • Loading branch information
dviejokfs committed Oct 23, 2024
1 parent 661d356 commit befc615
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.3

FROM alpine:3.14

RUN \
microdnf update --nodocs && \
microdnf install curl ca-certificates shadow-utils --nodocs
apk update && \
apk add --no-cache curl ca-certificates shadow

COPY CREDITS /licenses/CREDITS
COPY LICENSE /licenses/LICENSE
Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,27 +222,27 @@ EOF

```bash
export PEER_IMAGE=hyperledger/fabric-peer
export PEER_VERSION=2.5.9
export PEER_VERSION=2.5.10

export ORDERER_IMAGE=hyperledger/fabric-orderer
export ORDERER_VERSION=2.5.9
export ORDERER_VERSION=2.5.10

export CA_IMAGE=hyperledger/fabric-ca
export CA_VERSION=1.5.12
export CA_VERSION=1.5.13
```


### Environment Variables for ARM (Mac M1)

```bash
export PEER_IMAGE=hyperledger/fabric-peer
export PEER_VERSION=2.5.9
export PEER_VERSION=2.5.10

export ORDERER_IMAGE=hyperledger/fabric-orderer
export ORDERER_VERSION=2.5.9
export ORDERER_VERSION=2.5.10

export CA_IMAGE=hyperledger/fabric-ca
export CA_VERSION=1.5.12
export CA_VERSION=1.5.13

```

Expand Down Expand Up @@ -541,7 +541,6 @@ kubectl hlf identity create --name org2-admin --namespace default \
```bash
kubectl create secret generic wallet --namespace=default \
--from-file=org1msp.yaml=$PWD/org1msp.yaml \
--from-file=org2msp.yaml=$PWD/org2msp.yaml \
--from-file=orderermsp.yaml=$PWD/orderermsp.yaml \
--from-file=orderermspsign.yaml=$PWD/orderermspsign.yaml

Expand All @@ -567,9 +566,9 @@ kubectl apply -f - <<EOF
apiVersion: hlf.kungfusoftware.es/v1alpha1
kind: FabricMainChannel
metadata:
name: demo5
name: demo
spec:
name: demo5
name: demo
adminOrdererOrganizations:
- mspID: OrdererMSP
adminPeerOrganizations:
Expand Down

0 comments on commit befc615

Please sign in to comment.