main
Ricard Illa 2021-05-22 19:55:23 +02:00
parent 92e205c540
commit c7e339c5a3
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) .PHONY: all $(images)
all: $(images) all: $(images)
@ -70,3 +70,6 @@ rainloop:
monero: monero:
$(BUILD) $(BUILD)
filite:
$(BUILD)

View File

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