Skip to content

Instantly share code, notes, and snippets.

@alterakey
Last active January 26, 2024 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alterakey/345518e5bfb72eec8eb4e4cea957f13e to your computer and use it in GitHub Desktop.
Save alterakey/345518e5bfb72eec8eb4e4cea957f13e to your computer and use it in GitHub Desktop.
Dockerfile for pyside6 tools
from ubuntu:23.04
run apt-get -y update
run apt-get install -y python3-pip python3-venv
run python3 -m venv /app/.v && /app/.v/bin/pip install pyside6
run (cd /app && ln -sfn .v/bin/pyside6-* .)
from ubuntu:23.04
run apt-get -y update
run apt-get install -y python3 libglib2.0-0 libdouble-conversion3
run apt-get clean && rm -rf /var/cache/apt/lists
run mkdir /out
copy --from=0 /app /app
from scratch
copy --from=1 / /
workdir /out
env PATH /app:/bin:/usr/bin
cmd ["ls", "-1", "/app"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment