Skip to content

Commit

Permalink
Merge pull request #7 from integritee-network/cl/add-netcat-for-healt…
Browse files Browse the repository at this point in the history
…hcheck

add netcat to base images for healthcheck
  • Loading branch information
mosonyi authored Feb 1, 2023
2 parents 579eb56 + 7a20e8e commit b2e5841
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion parachain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2e5841

Please sign in to comment.