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.

49 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. RUN locale-gen en_US.UTF-8
  19. RUN echo "source /etc/bash_completion" >> $HOME/.bashrc
  20. # user configurations
  21. ENV USER builder
  22. ENV HOME /home/$USER
  23. # create user
  24. RUN useradd -d $HOME -m -G sudo $USER
  25. # switch user
  26. USER $USER
  27. # checkout scripts dir
  28. RUN mkdir $HOME/scripts
  29. RUN mkdir $HOME/scripts/patches
  30. COPY common.env build-*.sh $HOME/scripts/
  31. COPY patches/* $HOME/scripts/patches/
  32. # build deps
  33. WORKDIR $HOME/scripts
  34. RUN ./build-deps.sh
  35. RUN ./build-pyqt.sh
  36. # CMD
  37. CMD ["bash"]