R
RunPod4w ago
DEOGEE

Error downloading docker image for custom image mode(juggernaut)

I am using wsl
2 Replies
Encyrption
Encyrption4w ago
The error seems to be due to two issues in your Dockerfile: Casing Warning: The Dockerfile has a casing inconsistency for FROM and AS. The as in FROM ... AS ... should match the casing of FROM, so it should be capitalized as AS in both instances. This is a warning, but aligning the casing will help maintain code consistency. Pipefail Option in Clone Script: The error in /clone.sh shows an illegal option -o pipefail. It seems set -o pipefail was used, which is only valid in bash, not in /bin/sh (the default shell for Docker RUN commands). To address this: Update the Dockerfile to use bash instead of sh for commands requiring pipefail. Modify the clone command to explicitly use bash to ensure compatibility. Here's a modified snippet of your Dockerfile:
# Update casing in FROM statements
FROM docker.io/alpine/git:2.36.2 AS builder
...
FROM docker.io/library/python:3.10.9-slim AS build_final_image

# Use bash for commands needing pipefail in RUN statements
RUN ["/bin/bash", "-c", ". /clone.sh taming-transformers https://github.com/CompVis/taming-transformers.git 24268930bf1dce879235a7fddd0b2355b84d7ea6 && rm -rf data assets **/*.ipynb"]
# Update casing in FROM statements
FROM docker.io/alpine/git:2.36.2 AS builder
...
FROM docker.io/library/python:3.10.9-slim AS build_final_image

# Use bash for commands needing pipefail in RUN statements
RUN ["/bin/bash", "-c", ". /clone.sh taming-transformers https://github.com/CompVis/taming-transformers.git 24268930bf1dce879235a7fddd0b2355b84d7ea6 && rm -rf data assets **/*.ipynb"]
DEOGEE
DEOGEEOP4w ago
Thank you soo much. I ended up just using fooocus as it was much easier to setup. But Thanks a lot
Want results from more Discord servers?
Add your server