File tree 2 files changed +8
-12
lines changed
2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 1
1
version : " 2.2"
2
2
services :
3
3
ag-solo :
4
- # NOTE: Use an environment variable like:
5
- # SDK_TAG=agoricdev-5.2
6
4
# This tag needs to be the SDK used by the $NETCONFIG_URL
7
- # Usually it's the same as the chain name
8
- image : agoric/cosmic-swingset-solo :${SDK_TAG}
5
+ # SDK_TAG=agoricdev-10
6
+ image : agoric/agoric-sdk :${SDK_TAG}
9
7
# ISSUE: 127.0.0.1? not a docker network?
10
8
ports :
11
9
- " ${HOST_PORT:-8000}:${PORT:-8000}"
12
10
volumes :
13
- - " ag-solo-state:/usr/src/app/solo"
14
- - " ag-solo-state:/data/solo"
11
+ - " ag-solo-state:/state"
15
12
- " $HOME/.agoric:/root/.agoric"
16
13
environment :
17
- - " AG_SOLO_BASEDIR=${SOLO_HOME:-agoric}"
14
+ - " AG_SOLO_BASEDIR=/state/${SOLO_HOME:-agoriclocal}"
15
+ entrypoint : ag-solo
18
16
command :
19
17
- setup
20
18
- --webhost=0.0.0.0
21
19
- --webport=${PORT:-8000}
22
- # NOTE: Use an environment variable like:
23
- # NETCONFIG_URL=https://devnet.agoric.net/network-config
24
- - --netconfig=${NETCONFIG_URL}
20
+ - --netconfig=${NETCONFIG_URL:-https://stage.agoric.net/network-config}
25
21
volumes :
26
22
ag-solo-state :
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ for img in agoric-sdk cosmic-swingset-setup cosmic-swingset-solo deployment; do
15
15
SRC=" $DOCKERUSER /$img :$SRCTAG "
16
16
DST=" $DOCKERUSER /$img :$DSTTAG "
17
17
if manifest=$( docker manifest inspect " $SRC " ) ; then
18
- SUBIMGS =$( jq -r .manifests[].digest <<< " $manifest" | sed -e " s!^!$DOCKERUSER /$img @!" )
19
- docker manifest create " $DST " $SUBIMGS
18
+ AMENDS =$( jq -r .manifests[].digest <<< " $manifest" | sed -e " s!^!--amend $DOCKERUSER /$img @!" )
19
+ docker manifest create " $DST " $AMENDS
20
20
docker manifest push " $DST "
21
21
elif docker pull " $SRC " ; then
22
22
docker tag " $SRC " " $DST "
You can’t perform that action at this time.
0 commit comments