mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-03-11 13:12:20 +01:00
Compare commits
2 Commits
4ec311eaae
...
a518588572
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a518588572 | ||
|
|
305a28c981 |
@ -78,10 +78,11 @@ RUN apt-get update && \
|
|||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install wheels using bind mount (wheels not included in final layers)
|
# Install wheels using bind mount (wheels not included in final layers)
|
||||||
# and ensure all Python bytecode is freshly compiled with correct timestamps
|
|
||||||
RUN --mount=type=bind,from=pythonbuilder,source=/wheels,target=/wheels \
|
RUN --mount=type=bind,from=pythonbuilder,source=/wheels,target=/wheels \
|
||||||
pip install --no-cache-dir /wheels/*.whl && \
|
pip install --no-cache-dir /wheels/*.whl
|
||||||
python -m compileall -q
|
|
||||||
|
# Ensure all Python bytecode is freshly compiled with correct timestamps
|
||||||
|
RUN python -m compileall -q /usr/local/lib/python3.13
|
||||||
|
|
||||||
# Copy Go manager binary
|
# Copy Go manager binary
|
||||||
COPY --from=gobuilder /workspace/manager /manager
|
COPY --from=gobuilder /workspace/manager /manager
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user