mirror of
https://github.com/adferrand/docker-backuppc.git
synced 2023-11-05 04:40:26 +01:00
Circus in venv
This commit is contained in:
parent
708bbefb4a
commit
9b81f750a3
@ -12,8 +12,9 @@ RUN apk --no-cache --update add python3 rsync bash perl perl-archive-zip perl-xm
|
|||||||
# Install backuppc build dependencies
|
# Install backuppc build dependencies
|
||||||
&& apk --no-cache --update --virtual build-dependencies add gcc g++ libgcc linux-headers autoconf automake make git patch perl-dev python3-dev expat-dev acl-dev attr-dev popt-dev curl wget \
|
&& apk --no-cache --update --virtual build-dependencies add gcc g++ libgcc linux-headers autoconf automake make git patch perl-dev python3-dev expat-dev acl-dev attr-dev popt-dev curl wget \
|
||||||
# Install circusd (version 0.15.0 since 0.16.x appears to consume 100% of a CPU)
|
# Install circusd (version 0.15.0 since 0.16.x appears to consume 100% of a CPU)
|
||||||
&& python3 -m ensurepip \
|
&& python3 -m venv /srv/venv \
|
||||||
&& pip3 install --upgrade pip circus==0.15.0 \
|
&& /srv/venv/bin/pip install --upgrade pip wheel \
|
||||||
|
&& /srv/venv/bin/pip install --upgrade pip circus==0.15.0 \
|
||||||
# Compile and install BackupPC:XS
|
# Compile and install BackupPC:XS
|
||||||
&& git clone https://github.com/backuppc/backuppc-xs.git /root/backuppc-xs --branch $BACKUPPC_XS_VERSION \
|
&& git clone https://github.com/backuppc/backuppc-xs.git /root/backuppc-xs --branch $BACKUPPC_XS_VERSION \
|
||||||
&& cd /root/backuppc-xs \
|
&& cd /root/backuppc-xs \
|
||||||
|
@ -5,4 +5,4 @@ mkdir -p /var/circus
|
|||||||
touch /var/circus/endpoint /var/circus/pubsub /var/circus/stats
|
touch /var/circus/endpoint /var/circus/pubsub /var/circus/stats
|
||||||
|
|
||||||
# Launch circus
|
# Launch circus
|
||||||
exec /usr/bin/circusd /etc/circus.ini
|
exec /srv/venv/bin/circusd /etc/circus.ini
|
||||||
|
Loading…
Reference in New Issue
Block a user