From 4e5d28bef2e7dd584c98269c5b6dae4525724c91 Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 9 May 2023 22:46:46 +0200 Subject: [PATCH] needed this in the container --- .gitea/workflows/publish.yaml | 6 ++---- Dockerfile | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index ea37c78..bd843d4 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -11,10 +11,8 @@ jobs: - name: Check out the repo uses: actions/checkout@v3 - - name: Install Git + Docker - run: | - apt update && apt install git - curl -fsSL https://get.docker.com | sh + - name: Install Docker + run: curl -fsSL https://get.docker.com | sh - name: Log in to Container Registry uses: https://github.com/docker/login-action@v2 diff --git a/Dockerfile b/Dockerfile index 4fe7220..a5db176 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM python:3.11.3-slim-bullseye WORKDIR /app +RUN apt update && apt install -y git RUN pip install git+https://github.com/hifimusix/streamrip.git --upgrade COPY .config/streamrip/config.toml /root/.config/streamrip/config.toml