Created
February 15, 2025 16:26
-
-
Save jaraco/0e864b32530a0d1a3357959669f1eb7e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
FROM ubuntu:noble | |
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install -y software-properties-common | |
RUN apt-add-repository -y ppa:deadsnakes | |
RUN apt update | |
RUN apt install -y wget libarchive-tools | |
# Install Pythons | |
RUN apt install -y python3.12 python3.12-dev python3.12-venv | |
RUN apt install -y python3.13 python3.13-dev python3.13-venv | |
# Install Python launcher | |
RUN wget https://github.com/brettcannon/python-launcher/releases/download/v1.0.0/python_launcher-1.0.0-$(uname -p)-unknown-linux-gnu.tar.xz -O - | tar xJ --directory /usr/local --strip-components 1 | |
run wget https://github.com/user-attachments/files/18351245/shortcuts.zip -O - | bsdtar xz --strip-components 1 | |
run wget https://gist.githubusercontent.com/jaraco/b94f5314064d4dbb5fa615fd8b31672e/raw/6e598789ca08ab0cf83ef8febd9e951c88151af8/nixconfig.py | |
COPY Lib/configparser.py configparser.py | |
CMD py -3.13 -m timeit -s 'import nixconfig' 'nixconfig.main()' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment