Created
September 11, 2021 11:49
-
-
Save thetechnick/01acab9a02c87432c4fe18027bcb3bde to your computer and use it in GitHub Desktop.
Linux CNC Fedora 34 Containerfile
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
FROM fedora:34 | |
RUN dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-34.noarch.rpm \ | |
https://github.com/rpmsphere/noarch/raw/master/r/rpmsphere-release-34-1.noarch.rpm | |
RUN dnf install git make autoconf gcc gcc-c++ libtirpc kmod python python3-gobject \ | |
libudev-devel libmodbus-devel readline-devel freeglut-devel libXmu-devel \ | |
libusb-devel glib2-devel gtk2-devel pygtk2 procps psmisc intltool tcl-devel tk-devel bwidget tkimg tclx \ | |
gtk3-devel \ | |
boost-python3-devel libwebsockets-devel python-devel -y | |
RUN dnf install libtirpc-devel boost-python3-devel -y && \ | |
pip install Yapps2==2.2.0 | |
RUN cd /root && \ | |
git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc --depth=1 && \ | |
cd linuxcnc/src && \ | |
./autogen.sh && \ | |
export CPPFLAGS="$(pkg-config --cflags python3)" && \ | |
./configure --with-realtime=uspace \ | |
--with-python=python3 \ | |
--enable-non-distributable=yes && \ | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment