25 lines
369 B
Docker
25 lines
369 B
Docker
# hadolint ignore=DL3007
|
|
FROM alpine:latest
|
|
|
|
# hadolint ignore=DL3008
|
|
RUN apk add \
|
|
bash \
|
|
curl \
|
|
ca-certificates \
|
|
jq \
|
|
curl \
|
|
findutils \
|
|
sed \
|
|
coreutils \
|
|
gawk \
|
|
iputils-ping \
|
|
&& touch /data/filter.txt
|
|
|
|
# findutils = xargs
|
|
# coreutils = sort
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./filter.sh /app/filter.sh
|
|
|
|
CMD ["bash", "/app/filter.sh"]
|