Skip to content

Commit

Permalink
perf: 减少重复构建
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Nov 17, 2023
1 parent 31f61f5 commit f8da60d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions allinone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ ARG PYTHONUNBUFFERED=1 \
RUN --mount=type=cache,target=/root/.cache \
set -ex \
&& python3 -m venv /opt/py3 \
&& pip install $(grep cryptography pyproject.toml | sed 's/ = /==/g' | sed 's/"//g') -i ${PIP_MIRROR} \
&& pip install poetry \
&& poetry config virtualenvs.create false \
&& . /opt/py3/bin/activate \
Expand Down
1 change: 1 addition & 0 deletions core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ ARG PYTHONUNBUFFERED=1 \
RUN --mount=type=cache,target=/root/.cache \
set -ex \
&& python3 -m venv /opt/py3 \
&& pip install $(grep cryptography pyproject.toml | sed 's/ = /==/g' | sed 's/"//g') -i ${PIP_MIRROR} \
&& pip install poetry \
&& poetry config virtualenvs.create false \
&& . /opt/py3/bin/activate \
Expand Down

0 comments on commit f8da60d

Please sign in to comment.