Merge branch 'master' of ssh://suricata.monotremata.xyz/dockerfiles
commit
8e9d25df0c
5
Makefile
5
Makefile
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"]
|
|
@ -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) .
|
Loading…
Reference in New Issue