diff --git a/parachain/Dockerfile b/parachain/Dockerfile index f2e5dff..a5c433a 100644 --- a/parachain/Dockerfile +++ b/parachain/Dockerfile @@ -16,6 +16,9 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \ export PATH="$PATH:$HOME/.cargo/bin" && \ rustup toolchain install nightly && \ rustup target add wasm32-unknown-unknown --toolchain nightly && \ - rustup default stable + rustup default stable + +# install netcat for healthcheck +RUN apt-get update && apt-get install -yq netcat && cp /usr/bin/nc /usr/local/bin/ RUN echo "PATH=\"$PATH:/root/.cargo/bin\"" >> /etc/environment diff --git a/worker/Dockerfile b/worker/Dockerfile index 55ec6a6..f17b7ee 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -75,6 +75,9 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* && \ rm -rf /var/cache/apt/archives/* +# install netcat for healthcheck +RUN apt-get update && apt-get install -yq netcat && cp /usr/bin/nc /usr/local/bin/ + # set environment variables ENV DEBIAN_FRONTEND noninteractive ENV TERM xterm