1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
FROM ubuntu
RUN apt update && \
apt install -y \
build-essential \
gcc-14 \
intltool \
lftp \
librsync-dev \
libffi-dev \
libssl-dev \
openssl \
par2 \
python3-dev \
python3-pip \
python3-venv \
python3 \
rclone \
rsync \
rdiff \
tzdata
RUN apt purge -y gcc-13 && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/gcc-14 14 && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 14
RUN pip3 install https://gitlab.com/duplicity/duplicity/-/archive/dev/duplicity-dev.tar.bz2 --break
USER root
WORKDIR /root
CMD ["/bin/bash"]
|