Accidentally hit "send"... finishing e-mail now: On 23 January 2017 at 23:26, Christian Ridderström <c...@lyx.org> wrote:
> Hi, > > I've tested to compile LyX locally using one of the Docker containers, > i.e. I was on a mac and used the Docker image > "build-lyx-using-ubuntu-latest-qt5-cmake" > to build LyX as if the build was done in a Ubuntu environment. > > In case anyone would like to test this (e.g. to better be able to help me > figure out why a specific build configuration isn't producing the source > pacakge), here's the steps: > > - Install Docker engine > macOS: https://docs.docker.com/docker-for-mac/ > > - Put a clone of the LyX repo somewhere locally, e.g. at ~/lyx-clone > > - Execute > WORKSPACE=~/lyx-repo # Path on local machine to cloned LyX dir > SRC=/build/lyx # Path in container for where to mount $WORKSPACE > IMG_NAME=lyxproject/build-lyx-using-ubuntu-latest-qt5-cmake > docker run -i -t -v $WORKSPACE:$SRC $IMG_NAME /build/build_lyx.sh $SRC > > The last command will download the Docker image from Docker Hug, start the container from the image and use the (linux) build environment inside the container to build LyX. /Christian