ci: add wait-for script to node image

This commit is contained in:
Rainer Killinger
2021-09-08 13:03:30 +02:00
parent 459b1ed19f
commit 972b551a57

View File

@@ -1,6 +1,10 @@
FROM node:14-alpine
RUN apk update && apk add git curl
RUN apk update && apk add git curl && mkdir -p /opt
ADD --chown=root:root https://raw.githubusercontent.com/eficode/wait-for/v2.1.3/wait-for /opt/wait-for
RUN chmod +x /opt/wait-for && ln -s /opt/wait-for /usr/local/bin/wait-for
USER node