File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,7 +87,11 @@ RUN chmod -R ug+rw $HOME/log $HOME/ledger $HOME/.aries_cloudagent $HOME/.cache
8787
8888COPY --from=build /src/dist/aries_cloudagent*.whl .
8989
90- RUN pip install --no-cache-dir --find-links=. aries_cloudagent${acapy_reqs} && rm aries_cloudagent*.whl
90+ # Install ACA-py from the wheel.
91+ RUN aries_cloudagent_package=$(find ./ -name "aries_cloudagent*.whl" | head -n 1) && \
92+ echo "Installing ${aries_cloudagent_package} ..." && \
93+ pip install --no-cache-dir --find-links=. ${aries_cloudagent_package}${acapy_reqs} && \
94+ rm aries_cloudagent*.whl
9195
9296# Clean-up unneccessary build dependencies and reduce final image size
9397RUN apt-get purge -y --auto-remove build-essential
Original file line number Diff line number Diff line change @@ -256,7 +256,11 @@ RUN chmod -R ug+rw $HOME/.aries_cloudagent
256256
257257COPY --from=acapy-builder /src/dist/aries_cloudagent*.whl .
258258
259- RUN pip install --no-cache-dir --find-links=. aries_cloudagent${acapy_reqs} && rm aries_cloudagent*.whl
259+ # Install ACA-py from the wheel.
260+ RUN aries_cloudagent_package=$(find ./ -name "aries_cloudagent*.whl" | head -n 1) && \
261+ echo "Installing ${aries_cloudagent_package} ..." && \
262+ pip install --no-cache-dir --find-links=. ${aries_cloudagent_package}${acapy_reqs} && \
263+ rm aries_cloudagent*.whl
260264
261265# Clean-up unneccessary build dependencies and reduce final image size
262266# RUN apt-get purge -y --auto-remove build-essential
You can’t perform that action at this time.
0 commit comments