Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Aries Cloudagent Python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
X-Road with SSI
Aries Cloudagent Python
Commits
73f4f467
Unverified
Commit
73f4f467
authored
2 years ago
by
Wade Barnes
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/Dockerfile
+5
-1
5 additions, 1 deletion
docker/Dockerfile
docker/Dockerfile.indy
+5
-1
5 additions, 1 deletion
docker/Dockerfile.indy
with
10 additions
and
2 deletions
docker/Dockerfile
+
5
−
1
View file @
73f4f467
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
docker/Dockerfile.indy
+
5
−
1
View file @
73f4f467
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment