Revert "Switch to alpine"
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This reverts commit b998b9bc3f
.
This commit is contained in:
parent
a6afcb648e
commit
43e76d4d3a
18
Dockerfile
18
Dockerfile
|
@ -1,13 +1,15 @@
|
||||||
FROM alpine:edge
|
FROM debian:testing-slim
|
||||||
|
|
||||||
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories \
|
RUN apt-get update \
|
||||||
&& apk add --no-cache \
|
&& apt-get -y install --no-install-recommends runit \
|
||||||
deluge \
|
&& apt-get -y install \
|
||||||
|
deluge-console \
|
||||||
|
deluge-web \
|
||||||
|
deluged \
|
||||||
git \
|
git \
|
||||||
nginx \
|
gosu \
|
||||||
py3-pip \
|
nginx-light \
|
||||||
runit \
|
python3-pip \
|
||||||
su-exec \
|
|
||||||
tini
|
tini
|
||||||
|
|
||||||
RUN git clone --depth=1 https://github.com/tobbez/deluge_exporter /opt/deluge_exporter \
|
RUN git clone --depth=1 https://github.com/tobbez/deluge_exporter /opt/deluge_exporter \
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -u
|
set -u
|
||||||
adduser -D -u $PUID deluge
|
adduser -q --gecos '' --disabled-password --uid $PUID deluge
|
||||||
chown deluge:deluge /download/ /config/
|
chown deluge:deluge /download/ /config/
|
||||||
exec tini -- runsvdir /etc/service/
|
exec tini -- runsvdir /etc/service/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# vim: set et sts=4 sw=4 ts=4:
|
# vim: set et sts=4 sw=4 ts=4:
|
||||||
user nginx;
|
user www-data;
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
pid /run/nginx.pid;
|
pid /run/nginx.pid;
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
su-exec deluge deluge-web -d -c /config
|
gosu deluge deluge-web -d -c /config
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
DELUGE_CONFIG_DIR=/config/ su-exec deluge /opt/deluge_exporter/deluge_exporter.py
|
DELUGE_CONFIG_DIR=/config/ gosu deluge /opt/deluge_exporter/deluge_exporter.py
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
su-exec deluge deluged -d -c /config -L warning
|
gosu deluge deluged -d -c /config -L warning
|
||||||
|
|
Reference in a new issue