# Copyright 2020 Purdea Andrei # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . FROM debian:buster RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends apt-utils # MXE dependencies RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ autoconf \ automake \ autopoint \ bash \ bison \ bzip2 \ flex \ g++ \ g++-multilib \ gettext \ git \ gperf \ intltool \ libc6-dev-i386 \ libgdk-pixbuf2.0-dev \ libltdl-dev \ libssl-dev \ libtool-bin \ libxml-parser-perl \ lzip \ make \ openssl \ p7zip-full \ patch \ perl \ pkg-config \ python \ ruby \ sed \ unzip \ wget \ xz-utils # not really needed, these are: RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends mc RUN git clone https://github.com/mxe/mxe.git RUN cd mxe && make qtbase RUN cd mxe && make hidapi ENV PATH="/mxe/usr/bin/:${PATH}"