File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 11FROM alpine
2+ RUN apk add bash
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ async def _async_build(
123123
124124 proc = await ctx .engine (
125125 pkg .build_image ,
126- "/bin/ bash" ,
126+ "bash" ,
127127 "/dev/stdin" ,
128128 env = env ,
129129 cwd = cwd ,
Original file line number Diff line number Diff line change 44import hashlib
55import os
66from pathlib import Path
7- import sys
87from typing import Literal , Protocol , TypeAlias
98
109
@@ -71,11 +70,6 @@ async def _engine(
7170 volumes = volumes or []
7271 image_id = await _engine_ensure_image (which , image )
7372
74- for src , _ , kind in volumes :
75- if kind == "rw" :
76- print ("Creating directory" , src )
77- Path (src ).mkdir (parents = True , exist_ok = True )
78-
7973 stdin = None
8074 if input is not None :
8175 stdin = PIPE
@@ -156,7 +150,7 @@ async def _native(
156150
157151def get_engine (preference : EngineName | None = None ) -> Engine :
158152 if preference is None :
159- preference = "docker" if sys . platform == "darwin" else " podman"
153+ preference = "podman"
160154
161155 match preference :
162156 case "podman" :
You can’t perform that action at this time.
0 commit comments