Merge branch 'master' of ssh://suricata.monotremata.xyz/dockerfiles

main
Ricard Illa 2021-06-22 10:41:37 +02:00
commit 8e9d25df0c
4 changed files with 37 additions and 1 deletions

View File

@ -1,4 +1,4 @@
images=agate archivebox ansible backup buku ddclient git-daemon gitolite gitolite-pystagit rss-bridge pleroma sassc syncthing tasks tor transmission vdirsyncer xandikos nfs-server dendrite rainloop monero
images=agate archivebox ansible backup buku ddclient git-daemon gitolite gitolite-pystagit rss-bridge pleroma sassc syncthing tasks tor transmission vdirsyncer xandikos nfs-server dendrite rainloop monero filite
.PHONY: all $(images)
all: $(images)
@ -70,3 +70,6 @@ rainloop:
monero:
$(BUILD)
filite:
$(BUILD)

View File

@ -24,6 +24,7 @@ useful.
* buku: buku and bukuserver
* ddclient
* dendrite
* filite
* git-daemon: for git-daemon and git-http-backend
* gitolite-pystagit: well, gitolite + pystagit
* gitolite: gitolite + docker, so that I can mount the docker socket inside of

22
filite/Dockerfile Normal file
View File

@ -0,0 +1,22 @@
FROM alpine:3.13
RUN apk add --no-cache --virtual .build-deps cargo && \
apk add --no-cache libgcc && \
cargo install filite && \
apk del .build-deps && \
mv /root/.cargo/bin/filite /usr/local/bin/filite && \
rm -r /root/.cargo && \
addgroup \
--gid 10001 \
filite && \
adduser \
--uid 10000 \
--home /var/lib/filite \
--ingroup filite \
--disabled-password \
--shell /sbin/nologin \
filite
WORKDIR /var/lib/filite
USER filite
ENTRYPOINT ["/usr/local/bin/filite"]

10
filite/Makefile Normal file
View File

@ -0,0 +1,10 @@
USERNAME = rilla
IMG_NAME = filite
.PHONY: build build-nc
build: Dockerfile
docker build -t $(USERNAME)/$(IMG_NAME) .
build-nc: Dockerfile
docker build --no-cache -t $(USERNAME)/$(IMG_NAME) .