diff options
author | terminaldweller <thabogre@gmail.com> | 2021-09-02 08:37:27 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-09-02 08:37:27 +0000 |
commit | fc68d6e6968a5c681bbc4684ecee15f2cecefe81 (patch) | |
tree | 5289aa29433cdc8aa3e41739364757191d7d6b58 /searx/morty/Dockerfile | |
parent | squid multi-arch build (diff) | |
download | dockerimages-fc68d6e6968a5c681bbc4684ecee15f2cecefe81.tar.gz dockerimages-fc68d6e6968a5c681bbc4684ecee15f2cecefe81.zip |
filtron and morty arm builders
Diffstat (limited to 'searx/morty/Dockerfile')
-rw-r--r-- | searx/morty/Dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/searx/morty/Dockerfile b/searx/morty/Dockerfile new file mode 100644 index 0000000..59da7b4 --- /dev/null +++ b/searx/morty/Dockerfile @@ -0,0 +1,13 @@ +FROM alpine:3.13 as builder +RUN apk update && apk upgrade && apk add go git +RUN git clone https://github.com/asciimoo/morty +RUN cd morty && go build + +FROM alpine:3.13 +COPY --from=builder /morty/morty /usr/local/morty/ +RUN apk --no-cache add ca-certificates \ +&& rm -f /var/cache/apk/* \ +&& adduser -D -h /usr/local/morty -s /bin/false morty morty +USER morty +ENV DEBUG=true +EXPOSE 3000 |