Unify base docker images

This commit is contained in:
Abdullah Barhoum 2022-09-11 08:01:38 +02:00
parent 95cea97008
commit 3846483058
3 changed files with 6 additions and 13 deletions

View file

@ -2,23 +2,12 @@ name: Build Image
on: [push]
# TODO: how to cache intermediate images?
jobs:
build_hlky:
build_all:
runs-on: ubuntu-latest
name: hlky
steps:
- uses: actions/checkout@v3
# better caching?
- run: docker compose --profile hlky build --progress plain
build_AUTOMATIC1111:
runs-on: ubuntu-latest
name: AUTOMATIC1111
steps:
- uses: actions/checkout@v3
- run: docker compose --profile auto build --progress plain
build_lstein:
runs-on: ubuntu-latest
name: lstein
steps:
- uses: actions/checkout@v3
- run: docker compose --profile lstein build --progress plain

View file

@ -4,6 +4,8 @@ FROM continuumio/miniconda3:4.12.0
SHELL ["/bin/bash", "-ceuxo", "pipefail"]
ENV DEBIAN_FRONTEND=noninteractive
RUN conda install python=3.8.5 && conda clean -a -y
RUN conda install pytorch==1.11.0 torchvision==0.12.0 cudatoolkit=11.3 -c pytorch && conda clean -a -y

View file

@ -4,6 +4,8 @@ FROM continuumio/miniconda3:4.12.0
SHELL ["/bin/bash", "-ceuxo", "pipefail"]
ENV DEBIAN_FRONTEND=noninteractive
RUN conda install python=3.8.5 && conda clean -a -y
RUN conda install pytorch==1.11.0 torchvision==0.12.0 cudatoolkit=11.3 -c pytorch && conda clean -a -y