-
Notifications
You must be signed in to change notification settings - Fork 29
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
Optimise images #2066
Merged
Merged
Optimise images #2066
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
67dac33
refactor: autonomy image
angrybayblade b02e41d
chore: clean agent image
angrybayblade d32abe8
fix: images tests
angrybayblade c008a2d
chore: skip HWI loader tests
angrybayblade dac1da8
fix: version specifier string
angrybayblade 03bc0a4
chore: clean dev image
angrybayblade 4ec0db4
feat: bump open-autonomy@v0.13.0
angrybayblade 23a2565
feat: bump plugins
angrybayblade 7f402b7
chore: lock packages
angrybayblade 0c25f3e
chore: release notes
angrybayblade 294710b
fix: TCP fuzzer tests
angrybayblade c457950
docs: add `--reuse-multisig` flag to command guide [no ci]
angrybayblade 2f739a7
Merge pull request #2067 from valory-xyz/release/v0.13.0
angrybayblade File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,21 @@ | ||
ARG AEA_VERSION=latest | ||
FROM valory/open-aea-user:${AEA_VERSION} | ||
ARG AUTHOR=default_author | ||
|
||
WORKDIR /home/ubuntu | ||
ENV PATH=$PATH:/home/ubuntu/.local/bin | ||
FROM valory/open-aea-user:${AEA_VERSION} | ||
|
||
RUN sudo apt-get update && sudo apt-get upgrade -y | ||
RUN cd /usr/bin && sudo rm python3 && sudo ln -s python3.10 python3 && sudo ln -s python3.10 python | ||
RUN sudo apt-get install wait-for-it net-tools -y | ||
RUN sudo apt remove --purge python3-virtualenv | ||
ARG AUTHOR=default_author | ||
|
||
RUN apt remove --purge python3-virtualenv | ||
RUN python -m pip uninstall -y setuptools | ||
RUN python -m pip install --upgrade pip | ||
RUN python -m pip install --force-reinstall pipenv virtualenv --user | ||
RUN python -m pip uninstall -y setuptools | ||
WORKDIR /home/ubuntu | ||
|
||
COPY openssl.cnf /etc/ssl | ||
COPY Pipfile /home/ubuntu/Pipfile | ||
COPY start_dev.sh /home/ubuntu/start_dev.sh | ||
COPY start.sh /home/ubuntu/start.sh | ||
COPY watcher.py /home/ubuntu/watcher.py | ||
WORKDIR /root | ||
|
||
CMD ["./start_dev.sh"] | ||
COPY Pipfile /root/Pipfile | ||
COPY start_dev.sh /root/start_dev.sh | ||
COPY start.sh /root/start.sh | ||
COPY watcher.py /root/watcher.py | ||
|
||
HEALTHCHECK --interval=3s --timeout=600s --retries=600 CMD netstat -ltn | grep -c 26658 > /dev/null; if [ 0 != $? ]; then exit 1; fi; | ||
CMD ["/root/start_dev.sh"] | ||
|
||
HEALTHCHECK --interval=3s --timeout=600s --retries=600 CMD netstat -ltn | grep -c 26658 > /dev/null; if [ 0 != $? ]; then exit 1; fi; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be included in the base image