2021-10-27 12:34:38 +02:00
|
|
|
FROM ubuntu:focal
|
|
|
|
|
2022-08-06 21:10:42 +02:00
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
ENV http_proxy=http://acng.grote.lan:9999
|
|
|
|
|
2021-11-03 18:55:00 +01:00
|
|
|
# hadolint ignore=DL3008
|
2021-10-27 12:34:38 +02:00
|
|
|
RUN apt-get update \
|
2022-07-20 20:33:02 +02:00
|
|
|
&& apt-get upgrade -y \
|
2021-11-04 19:08:09 +01:00
|
|
|
&& apt-get install -y --no-install-recommends bash curl ca-certificates jq curl findutils sed coreutils gawk \
|
2021-10-27 12:34:38 +02:00
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& mkdir -p /data \
|
|
|
|
&& touch /data/filter.txt
|
|
|
|
|
2021-11-04 19:08:09 +01:00
|
|
|
# findutils = xargs
|
|
|
|
# coreutils = sort
|
|
|
|
|
2021-10-27 12:34:38 +02:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY ./filter.sh /app/filter.sh
|
|
|
|
|
|
|
|
CMD ["bash", "/app/filter.sh"]
|