-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* preupdate python310 matrix * update dev requirement * adding new dockerfile based on previous docker output. updating manylinux2010 * manylinux 3.10rc2 set up and ready * adjust target image. ensure that build.sh for azsdk version of manylinux1 aligns with build.ps1 for the same. * update target version of python 3.10 * disabling all but 310 to ensure we don't choke the agent pull. revert this before merge * updated installer script to actually pull down 3.10. updated client yml as well * attempt kinda upgrade * change the target package * we can't find libffi * update pytest asyncio dep * fix async test * drop manylinux1 3.10 * update livetest, changelog and bump version * move folder * update to 3.10 * uncomment linux * specify to 3.10.0 * try reset max precached version * specify version * update name Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
- Loading branch information
1 parent
ca81956
commit 9155d57
Showing
20 changed files
with
520 additions
and
16 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
param ( | ||
[string] | ||
$TAG | ||
) | ||
|
||
az acr login --subscription "Azure SDK Engineering System" --name azuresdkimages | ||
az acr build --subscription "Azure SDK Engineering System" -r azuresdkimages -t azuresdkimages.azurecr.io/manylinux2010_crypto_x64:$TAG . | ||
docker pull azuresdkimages.azurecr.io/manylinux2010_crypto_x64:$TAG | ||
docker tag azuresdkimages.azurecr.io/manylinux2010_crypto_x64:$TAG azuresdkimages.azurecr.io/manylinux2010_crypto_x64:latest | ||
docker push azuresdkimages.azurecr.io/manylinux2010_crypto_x64:latest |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
param ( | ||
[string] | ||
$TAG | ||
) | ||
|
||
az acr login --subscription "Azure SDK Engineering System" --name azuresdkimages || exit 1 | ||
az acr build --subscription "Azure SDK Engineering System" -r azuresdkimages -t azuresdkimages.azurecr.io/manylinux_crypto_x64:$TAG . | ||
docker pull azuresdkimages.azurecr.io/manylinux_crypto_x64:$TAG | ||
docker tag azuresdkimages.azurecr.io/manylinux_crypto_x64:$TAG azuresdkimages.azurecr.io/manylinux_crypto_x64:latest | ||
docker push azuresdkimages.azurecr.io/manylinux_crypto_x64:latest |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM azuresdkimages.azurecr.io/manylinux_crypto_x64:3.9 | ||
|
||
# download source | ||
RUN yum install gcc openssl-devel bzip2-devel libffi libffi-dev libffi-devel -y \ | ||
&& curl -O https://www.python.org/ftp/python/3.10.0/Python-3.10.0rc2.tgz \ | ||
&& tar -xzf ./Python-3.10.0rc2.tgz | ||
|
||
# copy file with necessary configurations for openssl | ||
COPY Setup /root/Python-3.10.0rc2/Modules/Setup | ||
|
||
ENV CFLAGS=-I/usr/lib64/libffi-3.0.5/include | ||
|
||
# ensure none of the lineendings in the copied file were wrong. install python3.10 | ||
RUN ldconfig \ | ||
&& sed -i -e 's/\r$//' /root/Python-3.10.0rc2/Modules/Setup \ | ||
&& cd Python-3.10.0rc2 \ | ||
&& ./configure --enable-optimizations \ | ||
&& make altinstall | ||
|
||
# ensure proper symlinks are in place as necessary for tooling | ||
RUN mkdir -p /opt/python/cp310-cp310/bin \ | ||
&& ln -s /usr/local/bin/python3.10 /opt/python/cp310-cp310/bin/python \ | ||
&& ln -s /usr/local/bin/pip3.10 /opt/python/cp310-cp310/bin/pip |
Oops, something went wrong.