need to add the docker repo
Some checks failed
Build and Push Docker Image / build (push) Failing after 10s

This commit is contained in:
2025-10-19 23:46:38 -07:00
parent 356af9eaa5
commit 2edce0c5a1

View File

@@ -1,5 +1,19 @@
FROM ghcr.io/linuxserver/duplicati:2.1.0
apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
# Install Docker CLI + bash + core utilities
RUN apt-get -y update \
&& apt-get -y --no-install-recommends install \