need to add the docker repo
Some checks failed
Build and Push Docker Image / build (push) Failing after 10s
Some checks failed
Build and Push Docker Image / build (push) Failing after 10s
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user