Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BuddyGlas committed Jun 24, 2024
1 parent 2550603 commit 11ffd43
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .docker/Dockerfile-hydradx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
FROM ubuntu:22.04 as rust-builder
LABEL maintainer="Unique.Network"

ARG RUST_TOOLCHAIN
ENV CARGO_HOME="/cargo-home"
ENV PATH="/cargo-home/bin:$PATH"
ENV TZ=UTC
Expand All @@ -14,10 +15,10 @@ RUN apt-get update && \

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain none

RUN rustup toolchain install {{ RUST_TOOLCHAIN }} && \
rustup target add wasm32-unknown-unknown --toolchain {{ RUST_TOOLCHAIN }} && \
rustup default {{ RUST_TOOLCHAIN }} && \
rustup component add --toolchain {{ RUST_TOOLCHAIN }} rust-src && \
RUN rustup toolchain install "${RUST_TOOLCHAIN}" && \
rustup target add wasm32-unknown-unknown --toolchain "${RUST_TOOLCHAIN}" && \
rustup default "${RUST_TOOLCHAIN}" && \
rustup component add --toolchain "${RUST_TOOLCHAIN}" rust-src && \
rustup target list --installed && \
rustup show

Expand All @@ -27,6 +28,8 @@ WORKDIR /unique_parachain
# ===== BUILD BIN =====
FROM rust-builder as builder-hydradx-bin

ARG HYDRADX_BUILD_BRANCH

WORKDIR /unique_parachain

RUN git clone --depth 1 -b {{ HYDRADX_BUILD_BRANCH }} https://github.com/galacticcouncil/HydraDX-node.git
Expand Down
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ STATEMINT_BUILD_BRANCH=1.9.0
ACALA_BUILD_BRANCH=2.25.0
MOONBEAM_BUILD_BRANCH=runtime-2901
ASTAR_BUILD_BRANCH=v5.39.1
HYDRADX_BUILD_BRANCH=v27.0.0
#POLKADEX_BUILD_BRANCH=v1.1.0 #repository in archive and switched to cumulus
UNIQUE_MAINNET_BRANCH=release-v10030070
UNIQUE_REPLICA_FROM=wss://ws.unique.network:443

Expand All @@ -22,5 +24,3 @@ WESTMINT_BUILD_BRANCH=1.9.0
OPAL_MAINNET_BRANCH=release-v10030070
OPAL_REPLICA_FROM=wss://ws-opal.unique.network:443

#POLKADEX_BUILD_BRANCH=v1.1.0 #repository in archive and switched to cumulus
HYDRADX_BUILD_BRANCH=v27.0.0

0 comments on commit 11ffd43

Please sign in to comment.