Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Netcat package to docker images #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion build/Dockerfile-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN apk update \
&& apk add sudo \
&& apk add git \
&& apk add curl \
&& apk add netcat-openbsd \
&& apk add nodejs=12.22.1-r0 \
&& apk add npm=12.22.1-r0 \
&& mkdir -p /etc/arewedown \
Expand All @@ -26,4 +27,5 @@ USER arewedown

ENV DEBIAN_FRONTEND=noninteractive

CMD cd /etc/arewedown && npm start
CMD cd /etc/arewedown && npm start

4 changes: 3 additions & 1 deletion build/Dockerfile-amd64
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN apt-get update \
&& apt-get install python3-minimal -y \
&& apt-get install python3-pip -y \
&& apt-get install iputils-ping -y \
&& apt-get install netcat -y \
&& curl -s -O https://deb.nodesource.com/node_12.x/pool/main/n/nodejs/nodejs_12.20.2-deb-1nodesource1_amd64.deb \
&& dpkg -i nodejs_12.20.2-deb-1nodesource1_amd64.deb \
&& rm nodejs_12.20.2-deb-1nodesource1_amd64.deb \
Expand All @@ -28,4 +29,5 @@ USER arewedown

ENV DEBIAN_FRONTEND=noninteractive

CMD cd /etc/arewedown && npm start
CMD cd /etc/arewedown && npm start

4 changes: 3 additions & 1 deletion build/Dockerfile-arm32v7
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN apt-get update \
&& apt-get install python3-minimal -y \
&& apt-get install python3-pip -y \
&& apt-get install libatomic1 -y \
&& apt-get install netcat -y \
&& curl -s -O https://deb.nodesource.com/node_12.x/pool/main/n/nodejs/nodejs_12.20.2-deb-1nodesource1_armhf.deb \
&& dpkg -i nodejs_12.20.2-deb-1nodesource1_armhf.deb \
&& rm nodejs_12.20.2-deb-1nodesource1_armhf.deb \
Expand All @@ -28,4 +29,5 @@ USER arewedown

ENV DEBIAN_FRONTEND=noninteractive

CMD cd /etc/arewedown && npm start
CMD cd /etc/arewedown && npm start

Empty file modified build/build-dockerImage.sh
100644 → 100755
Empty file.