FROM xilinx:loadonly

# Whack /bin/sh (known issue with XiLinx tools not working with /bin/dash)

RUN ln -sf /bin/bash /bin/sh

# Here's where it gets really fun: let's see if we can drive the
# frelling XiLinx installation under Xvfb.  Need some tools first,
# then some manual debugging to get the details right.  Don't expect
# to need all of the following once we've debugged this.

RUN apt-get update && apt-get install -y \
    python-xvfbwrapper \
    ratpoison \
    x11-apps \
    x11-utils \
    x11-xserver-utils \
    xautomation