Code: Select all
FROM ubuntu:16.04
RUN apt-get update && apt-get -y install \
curl \
sudo
# Replace 1000 with your user / group id
RUN export uid=1000 gid=1000 && \
mkdir -p /home/developer && \
echo "developer:x:${uid}:${gid}:Developer,,,:/home/developer:/bin/bash" >> /etc/passwd && \
echo "developer:x:${uid}:" >> /etc/group && \
echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/developer && \
chmod 0440 /etc/sudoers.d/developer && \
chown ${uid}:${gid} -R /home/developer
USER developer
ENV HOME /home/developer
RUN cd /home/developer && \
curl http://coppeliarobotics.com/files/V-REP_PRO_EDU_V3_5_0_Linux.tar.gz --output vrep.tar.gz && \
tar -xzf vrep.tar.gz && \
rm vrep.tar.gz
Code: Select all
linux-vdso.so.1 => (0x00007ffdac474000)
liblua5.1.so (0x00007fa23a8e5000)
libqscintilla2.so.9 (0x00007fa239324000)
libQt5OpenGL.so.5 (0x00007fa2390cd000)
libQt5Widgets.so.5 (0x00007fa23889c000)
libQt5Gui.so.5 (0x00007fa2380ef000)
libQt5SerialPort.so.5 (0x00007fa237ed6000)
libQt5Network.so.5 (0x00007fa237b45000)
libQt5Core.so.5 (0x00007fa23740d000)
libGL.so.1 => not found
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa2371f0000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa236e6e000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa236b65000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa23694f000)
libc.so.6 This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Reinstalling the application may fix this problem.
./vrep.sh: line 33: 543 Aborted (core dumped) "$dirname/$appname" "${PARAMETERS[@]}"
=> /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa236585000)
libQt5PrintSupport.so.5 (0x00007fa236317000)
libGL.so.1 => not found
libGL.so.1 => not found
libGL.so.1 => not found
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa2360fd000)
libicui18n.so.56 (0x00007fa235c64000)
libicuuc.so.56 (0x00007fa2358ac000)
libicudata.so.56 (0x00007fa233ec9000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa233cc1000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa233abd000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa23a7eb000)
libgthread-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libGL.so.1 => not found
Code: Select all
apt-get -y install libgl1-mesa-glx libglib2.0-0
Code: Select all
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Reinstalling the application may fix this problem.
./vrep.sh: line 33: 543 Aborted (core dumped) "$dirname/$appname" "${PARAMETERS[@]}"