Skip to content

Commit 2aa1177

Browse files
fix: Remove requirement for buildkit (#290)
Fixes #288 Separatet COPY/chmod line into two separate commands so the Dockerfile can be build locally by buildah (podman) as well as CI.
1 parent ace29b9 commit 2aa1177

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/Dockerfile.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ ENV PATH=/venv/bin:$PATH{% if docker %}
1515
# The build stage installs the context into the venv
1616
FROM developer AS build
1717
# Requires buildkit 0.17.0
18-
COPY --chmod=o+wrX . /workspaces/{{ repo_name }}
18+
COPY . /workspaces/{{ repo_name }}
1919
WORKDIR /workspaces/{{ repo_name }}
20-
RUN touch dev-requirements.txt && pip install -c dev-requirements.txt .
20+
RUN chmod o+wrX . && touch dev-requirements.txt && pip install -c dev-requirements.txt .
2121

2222
{% if docker_debug %}
2323
FROM build AS debug

0 commit comments

Comments
 (0)