From b0a8c52d71b4cfad2712cb3c21811b39c0619d17 Mon Sep 17 00:00:00 2001 From: poggenpower Date: Mon, 6 Jan 2025 22:43:49 +0000 Subject: [PATCH] Fix typo --- Dockerfile | 2 +- Dockerfile-ubuntu | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 Dockerfile-ubuntu diff --git a/Dockerfile b/Dockerfile index 216dc10..5e2287b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/python:3.12 +FROM docker.io/python:3.12-alpine RUN apk fix && \ apk add --no-cache \ diff --git a/Dockerfile-ubuntu b/Dockerfile-ubuntu new file mode 100644 index 0000000..43af0f3 --- /dev/null +++ b/Dockerfile-ubuntu @@ -0,0 +1,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 --no-binary :all: --no-cache-dir + +USER root +WORKDIR /root +CMD ["/bin/bash"] \ No newline at end of file