Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.6KB

  1. FROM ubuntu:18.04
  2. MAINTAINER falkTX <falktx@falktx.com>
  3. ENV DEBIAN_FRONTEND noninteractive
  4. # enable i386
  5. RUN dpkg --add-architecture i386
  6. RUN echo "deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse" > /etc/apt/sources.list && \
  7. echo "deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse" >> /etc/apt/sources.list && \
  8. echo "deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse" >> /etc/apt/sources.list && \
  9. echo "deb [arch=amd64,i386] http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse" >> /etc/apt/sources.list
  10. # update and upgrade system
  11. RUN apt-get update && apt-get upgrade -qy && apt-get clean
  12. # install packages
  13. RUN apt-get install -qy mingw-w64 && \
  14. apt-get install -qy qemu-user-static libwine-development-dev wine64-development-tools && \
  15. apt-get install -qy locales acl bash bash-completion git nano patch python3 tar wget && \
  16. apt-get install -qy automake binutils build-essential cmake libglib2.0-dev-bin libtool-bin && \
  17. apt-get clean
  18. # basic setup
  19. RUN locale-gen en_US.UTF-8
  20. RUN echo "source /etc/bash_completion" >> $HOME/.bashrc
  21. # user configurations
  22. ENV USER builder
  23. ENV HOME /home/$USER
  24. # create user
  25. RUN useradd -d $HOME -m -G sudo $USER
  26. # switch user
  27. USER $USER
  28. # checkout scripts dir
  29. RUN mkdir $HOME/scripts
  30. RUN mkdir $HOME/scripts/patches
  31. COPY common.env build-*.sh $HOME/scripts/
  32. COPY patches/* $HOME/scripts/patches/
  33. # build deps
  34. WORKDIR $HOME/scripts
  35. RUN ./build-deps.sh
  36. RUN ./build-pyqt.sh
  37. # CMD
  38. CMD ["bash"]