Skip to content

Commit

Permalink
Release/rpcurlfix (#33)
Browse files Browse the repository at this point in the history
* Update Dockerfile

rustup doesnt work

* fix dockerfile

* Dockerfile fix pls

* taking off silent to debug

* certificates fix

* reverting changes

* Update devnet.dockerfile

* Update devnet.dockerfile

* fix certificates

* fixing other dockerfiles

* needs port

---------

Co-authored-by: Thomas McDonald <thomas.mcdonald@gluwa.com>
  • Loading branch information
notaturkey and Thomas McDonald committed May 30, 2024
1 parent 9e43b3b commit 4ee3190
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docker/devnet.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ FROM ubuntu:jammy AS builder
ARG PROFILE=release

RUN apt-get update \
&& apt-get -y --no-install-recommends install build-essential curl libssl-dev pkg-config \
&& apt-get -y --no-install-recommends install build-essential curl libssl-dev pkg-config ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN /root/.cargo/bin/rustup update

COPY . /app
Expand Down
4 changes: 2 additions & 2 deletions docker/mainnet.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ FROM ubuntu:jammy AS builder
ARG PROFILE=release

RUN apt-get update \
&& apt-get -y --no-install-recommends install build-essential curl libssl-dev pkg-config \
&& apt-get -y --no-install-recommends install build-essential curl libssl-dev pkg-config ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN /root/.cargo/bin/rustup update

COPY . /app
Expand Down
4 changes: 2 additions & 2 deletions docker/testnet.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ FROM ubuntu:jammy AS builder
ARG PROFILE=release

RUN apt-get update \
&& apt-get -y --no-install-recommends install build-essential curl libssl-dev pkg-config \
&& apt-get -y --no-install-recommends install build-essential curl libssl-dev pkg-config ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN /root/.cargo/bin/rustup update

COPY . /app
Expand Down
2 changes: 1 addition & 1 deletion environments/cc3/devnet/.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CRUNCH_STASHES_URL=https://raw.githubusercontent.com/gluwa/crunch/devnet/environ
# [CRUNCH_SUBSTRATE_WS_URL] Substrate websocket endpoint for which 'crunch' will try to
# connect. (e.g. wss://kusama-rpc.polkadot.io) (NOTE: substrate_ws_url takes precedence
# than <CHAIN> argument)
CRUNCH_SUBSTRATE_WS_URL=wss://rpc.cc3-devnet.creditcoin.network
CRUNCH_SUBSTRATE_WS_URL=wss://rpc.cc3-devnet.creditcoin.network:9944
#
# [CRUNCH_MAXIMUM_PAYOUTS] Maximum number of unclaimed eras for which an extrinsic payout
# will be submitted. (e.g. a value of 4 means that if there are unclaimed eras in the last
Expand Down
2 changes: 1 addition & 1 deletion environments/cc3/testnet/.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CRUNCH_STASHES_URL=https://raw.githubusercontent.com/gluwa/crunch/testnet/enviro
# [CRUNCH_SUBSTRATE_WS_URL] Substrate websocket endpoint for which 'crunch' will try to
# connect. (e.g. wss://kusama-rpc.polkadot.io) (NOTE: substrate_ws_url takes precedence
# than <CHAIN> argument)
CRUNCH_SUBSTRATE_WS_URL=wss://rpc.cc3-testnet.creditcoin.network
CRUNCH_SUBSTRATE_WS_URL=wss://rpc.cc3-testnet.creditcoin.network:9944
#
# [CRUNCH_MAXIMUM_PAYOUTS] Maximum number of unclaimed eras for which an extrinsic payout
# will be submitted. (e.g. a value of 4 means that if there are unclaimed eras in the last
Expand Down

0 comments on commit 4ee3190

Please sign in to comment.