Skip to content

Commit 8d98808

Browse files
committed
docker: Install netcat since wait_for uses it
Without nc installed, wait_for will always time out since running nc will fail, which wait_for doesn't distinguish from nc being unable to connect to the target host
1 parent 6ba10b3 commit 8d98808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ EXPOSE 8001
5858
EXPOSE 8020
5959

6060
RUN apt-get update \
61-
&& apt-get install -y libpq-dev ca-certificates
61+
&& apt-get install -y libpq-dev ca-certificates netcat
6262

6363
ADD docker/wait_for docker/start /usr/local/bin/
6464
COPY --from=graph-node-build /usr/local/cargo/bin/graph-node /usr/local/bin

0 commit comments

Comments
 (0)