From a4d3cef9c3572e1f4b417dcfae8cbfd1d52104fd Mon Sep 17 00:00:00 2001 From: jagdeep sidhu Date: Wed, 10 Aug 2022 13:33:35 -0700 Subject: [PATCH] removing versioning from assumption in upstream docker syscoin image --- cmd/puppeth/module_explorer.go | 3 +-- cmd/puppeth/module_faucet.go | 3 +-- cmd/puppeth/module_node.go | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cmd/puppeth/module_explorer.go b/cmd/puppeth/module_explorer.go index 11a2be65b590..dfc1c27e6681 100644 --- a/cmd/puppeth/module_explorer.go +++ b/cmd/puppeth/module_explorer.go @@ -34,8 +34,7 @@ FROM sidhujag/syscoin-core:latest as syscoin-alpine FROM sidhujag/blockscout:latest ENV SYSCOIN_DATA=/home/syscoin/.syscoin -ENV SYSCOIN_VERSION=4.3.0 -ENV SYSCOIN_PREFIX=/opt/syscoin-${SYSCOIN_VERSION} +ENV SYSCOIN_PREFIX=/opt/syscoin ARG COINSYMBOL={{.Coin}} ARG EXCHANGE_RATES_COINGECKO_COIN_ID={{.CoingeckoID}} ARG COINNETWORK={{.Network}} diff --git a/cmd/puppeth/module_faucet.go b/cmd/puppeth/module_faucet.go index b99d274829c0..d307736d6e43 100644 --- a/cmd/puppeth/module_faucet.go +++ b/cmd/puppeth/module_faucet.go @@ -37,8 +37,7 @@ FROM sidhujag/syscoin-core:latest as syscoin-alpine FROM alpine:3.14 ENV SYSCOIN_DATA=/home/syscoin/.syscoin -ENV SYSCOIN_VERSION=4.3.0 -ENV SYSCOIN_PREFIX=/opt/syscoin-${SYSCOIN_VERSION} +ENV SYSCOIN_PREFIX=/opt/syscoin COPY --from=syscoin-alpine ${SYSCOIN_DATA}/* ${SYSCOIN_DATA}/ COPY --from=syscoin-alpine ${SYSCOIN_PREFIX}/bin/* /usr/local/bin/ diff --git a/cmd/puppeth/module_node.go b/cmd/puppeth/module_node.go index a2769fc0eb43..6f8a79df156d 100644 --- a/cmd/puppeth/module_node.go +++ b/cmd/puppeth/module_node.go @@ -41,8 +41,7 @@ ADD genesis.json /genesis.json ADD signer.pass /signer.pass {{end}} ENV SYSCOIN_DATA=/home/syscoin/.syscoin -ENV SYSCOIN_VERSION=4.3.0 -ENV SYSCOIN_PREFIX=/opt/syscoin-${SYSCOIN_VERSION} +ENV SYSCOIN_PREFIX=/opt/syscoin COPY --from=syscoin-alpine ${SYSCOIN_DATA}/* ${SYSCOIN_DATA}/ COPY --from=syscoin-alpine ${SYSCOIN_PREFIX}/bin/* /usr/local/bin/