Skip to content
Snippets Groups Projects
Unverified Commit 73f4f467 authored by Wade Barnes's avatar Wade Barnes Committed by GitHub
Browse files

Merge pull request #2123 from WadeBarnes/fix/image-builds

Fix ACA-py image builds
parents 467104fa 3d60b9b4
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,11 @@ RUN chmod -R ug+rw $HOME/log $HOME/ledger $HOME/.aries_cloudagent $HOME/.cache
COPY --from=build /src/dist/aries_cloudagent*.whl .
RUN pip install --no-cache-dir --find-links=. aries_cloudagent${acapy_reqs} && rm aries_cloudagent*.whl
# Install ACA-py from the wheel.
RUN aries_cloudagent_package=$(find ./ -name "aries_cloudagent*.whl" | head -n 1) && \
echo "Installing ${aries_cloudagent_package} ..." && \
pip install --no-cache-dir --find-links=. ${aries_cloudagent_package}${acapy_reqs} && \
rm aries_cloudagent*.whl
# Clean-up unneccessary build dependencies and reduce final image size
RUN apt-get purge -y --auto-remove build-essential
......
......@@ -256,7 +256,11 @@ RUN chmod -R ug+rw $HOME/.aries_cloudagent
COPY --from=acapy-builder /src/dist/aries_cloudagent*.whl .
RUN pip install --no-cache-dir --find-links=. aries_cloudagent${acapy_reqs} && rm aries_cloudagent*.whl
# Install ACA-py from the wheel.
RUN aries_cloudagent_package=$(find ./ -name "aries_cloudagent*.whl" | head -n 1) && \
echo "Installing ${aries_cloudagent_package} ..." && \
pip install --no-cache-dir --find-links=. ${aries_cloudagent_package}${acapy_reqs} && \
rm aries_cloudagent*.whl
# Clean-up unneccessary build dependencies and reduce final image size
# RUN apt-get purge -y --auto-remove build-essential
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment