mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-08 00:24:25 +01:00
Unify base docker images
This commit is contained in:
parent
95cea97008
commit
3846483058
15
.github/workflows/docker.yml
vendored
15
.github/workflows/docker.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue