forked from ekino/docker-buildbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tezosqa): refactoring dockerfile and update dind version
- Loading branch information
bonnai.djicko
committed
Nov 28, 2023
1 parent
43df91d
commit 9fc5e37
Showing
3 changed files
with
30 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,32 @@ | ||
FROM docker:20.10.24-dind | ||
FROM docker:24.0.6-dind | ||
|
||
WORKDIR /tezos | ||
|
||
RUN echo "Install python3 and pip3" \ | ||
&& apk --no-cache --update add python3 py3-pip\ | ||
&& echo "Done!" \ | ||
&& echo "Install basics Python tools" \ | ||
&& pip3 install -U pipenv \ | ||
&& echo "Done!" \ | ||
&& echo "Install crypto libs and various tools" \ | ||
&& apk add -q libsodium-dev pkgconfig libsecp256k1-dev gmp-dev python3-dev libffi-dev gcc git g++ make wget bash musl-dev linux-headers\ | ||
&& echo "Done!" \ | ||
&& echo "Install SmartPyDev" \ | ||
RUN echo "Install basics Python tools" \ | ||
apk update && \ | ||
apk add --no-cache python3 && \ | ||
python3 -m ensurepip && \ | ||
rm -r /usr/lib/python*/ensurepip && \ | ||
pip3 install --no-cache --upgrade pip setuptools | ||
|
||
RUN echo "Install crypto libs and various tools" \ | ||
&& apk --no-cache add -q libsodium-dev pkgconfig libsecp256k1-dev gmp-dev python3-dev wget build-base libffi-dev \ | ||
&& echo "Done!" | ||
|
||
RUN echo "Install SmartPyDev" \ | ||
&& wget https://smartpy.io/smartpy \ | ||
&& chmod +x smartpy && mv smartpy /usr/local/bin \ | ||
&& echo "Done!" \ | ||
&& echo "Install ligo" \ | ||
&& wget https://gitlab.com/ligolang/ligo/-/jobs/4260236028/artifacts/raw/ligo \ | ||
&& chmod +x ./ligo && mv ligo /usr/bin \ | ||
&& echo "Done!" \ | ||
&& echo "Install Pytezos and other python libs" \ | ||
&& pip install pytezos pytest ipython fire pysodium secp256k1 \ | ||
&& echo "Done!" \ | ||
&& echo "Cleanup" \ | ||
&& echo "Done!" | ||
|
||
RUN echo "Install ligo" \ | ||
&& wget https://gitlab.com/ligolang/ligo/-/jobs/5419828800/artifacts/raw/ligo \ | ||
&& chmod +x ./ligo && cp ligo /usr/bin \ | ||
&& echo "Done!" | ||
|
||
RUN echo "Install Pytezos and other python libs" \ | ||
&& pip install pytezos \ | ||
&& echo "Done!" | ||
|
||
RUN echo "Cleanup" \ | ||
&& rm -rf /var/cache/apk/* && pip cache purge \ | ||
&& echo "Done!" |
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 |
---|---|---|
|
@@ -7,4 +7,5 @@ versions: | |
cmd: | ||
- ligo --version | ||
- pytezos --version | ||
- python --version | ||
|