aboutsummaryrefslogtreecommitdiffstats
path: root/searx/filtron/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-09-02 08:37:27 +0000
committerterminaldweller <thabogre@gmail.com>2021-09-02 08:37:27 +0000
commitfc68d6e6968a5c681bbc4684ecee15f2cecefe81 (patch)
tree5289aa29433cdc8aa3e41739364757191d7d6b58 /searx/filtron/Dockerfile
parentsquid multi-arch build (diff)
downloaddockerimages-fc68d6e6968a5c681bbc4684ecee15f2cecefe81.tar.gz
dockerimages-fc68d6e6968a5c681bbc4684ecee15f2cecefe81.zip
filtron and morty arm builders
Diffstat (limited to '')
-rw-r--r--searx/filtron/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/searx/filtron/Dockerfile b/searx/filtron/Dockerfile
new file mode 100644
index 0000000..35bea32
--- /dev/null
+++ b/searx/filtron/Dockerfile
@@ -0,0 +1,11 @@
+FROM alpine:3.13 as builder
+RUN apk update && apk upgrade && apk add go git
+RUN git clone https://github.com/asciimoo/filtron
+RUN cd filtron && go build
+
+FROM alpine:3.13
+COPY --from=builder /filtron/filtron /usr/local/filtron/
+RUN apk --no-cache add ca-certificates \
+ && adduser -D -h /usr/local/filtron -s /bin/false filtron filtron
+USER filtron
+EXPOSE 4005