Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ACA-py image builds #2123

Merged
merged 1 commit into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion docker/Dockerfile.indy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down