From c1542c267b219a6a777f609bf16d96159ae61e32 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Wed, 1 Feb 2023 15:13:02 -0300 Subject: [PATCH] remove copying of netcat --- parachain/Dockerfile | 2 +- worker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parachain/Dockerfile b/parachain/Dockerfile index a5c433a..d2444bd 100644 --- a/parachain/Dockerfile +++ b/parachain/Dockerfile @@ -19,6 +19,6 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \ rustup default stable # install netcat for healthcheck -RUN apt-get update && apt-get install -yq netcat && cp /usr/bin/nc /usr/local/bin/ +RUN apt-get update && apt-get install -yq netcat RUN echo "PATH=\"$PATH:/root/.cargo/bin\"" >> /etc/environment diff --git a/worker/Dockerfile b/worker/Dockerfile index f17b7ee..630e109 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -76,7 +76,7 @@ RUN apt-get update && \ 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/ +RUN apt-get update && apt-get install -yq netcat # set environment variables ENV DEBIAN_FRONTEND noninteractive