Make docker images lighter (#2149)

This commit is contained in:
Julian Weber
2022-11-15 00:11:32 +01:00
committed by GitHub
parent 7689fadd86
commit f85609f9bf
2 changed files with 7 additions and 15 deletions
+3 -3
View File
@@ -15,8 +15,8 @@ jobs:
matrix:
arch: ["amd64"]
base:
# - "nvcr.io/nvidia/pytorch:22.03-py3" # GPU enabled
- "ubuntu:20.04" # CPU only
- "nvidia/cuda:11.8.0-base-ubuntu22.04" # GPU enabled
- "python:3.10.8-slim" # CPU only
steps:
- uses: actions/checkout@v2
- name: Log in to the Container registry
@@ -32,7 +32,7 @@ jobs:
base="ghcr.io/coqui-ai/tts"
tags="" # PR build
if [[ ${{ matrix.base }} = "ubuntu:20.04" ]]; then
if [[ ${{ matrix.base }} = "python:3.10.8-slim" ]]; then
base="ghcr.io/coqui-ai/tts-cpu"
fi