Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit feccb32

Browse files
committed
Create Dockerfile to build wxPython
This image is based on Debian Buster (which is Debian 10) but I'm pulling the Debian 9 source since that is the latest available.
1 parent 3714074 commit feccb32

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM python:3.8.1-buster
2+
3+
LABEL maintainer="FoxGuard Solutions"
4+
LABEL website="https://foxguardsolutions.com/"
5+
6+
RUN apt-get update
7+
RUN apt-get install -y build-essential libgtk-3-dev
8+
RUN pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/debian-9 wxPython

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# wxpython
2-
Docker image for wxpython builds
1+
# Docker Image for wxPython
2+
3+
Building Linux based Docker images for wxPython can pose problems given all the flavors and customizations of Linux. The [suggestion from wxPython was to build custom Docker images](https://wxpython.org/blog/2017-08-17-builds-for-linux-with-pip/index.html) if they don't provide a supported wheel. The Dockerfile in this repo will build wxPython ontop of a `python:3.8.1-buster` image. It's important to pre-build this image considering how long it takes to build wxPython. This makes it quicker for other images to depend on this image.

0 commit comments

Comments
 (0)