-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2066 from valory-xyz/feat/optimise-images
Optimise images
- Loading branch information
Showing
66 changed files
with
350 additions
and
1,084 deletions.
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.