File: Dockerfile

package info (click to toggle)
duplicity 3.0.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,620 kB
  • sloc: python: 25,580; sh: 976; ansic: 392; makefile: 83
file content (31 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (2)
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"]