Skip to content
Snippets Groups Projects
Commit 57cbd08b authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

vnc

parent d53597ee
No related merge requests found
......@@ -24,9 +24,19 @@ docker run --rm -it manylinux-test
## Upload the wheels on PyPi
```
twine upload dist/*
twine upload --repository testpypi dist/*
```
## Check everything:
```
for pv in 2.7 3.5 3.6 3.7 3.8 3.9
docker build -f check.Dockerfile --build-arg PYVER=$pv -t gepetto/utils:wheel-$pv .
docker push gepetto/utils:wheel-$pv
end
```
## TODO
- use robotpkg to build, instead of downloading the sources: could build all non-python stuff in the docker image
......
......
......@@ -18,5 +18,8 @@ cp /scripts/pyproject.toml .
# Fix CMake for scikit-build
find . -name CMakeLists.txt | xargs sed -i 's/PYTHON_INCLUDE_DIRS/PYTHON_INCLUDE_DIR/'
sed -i 's/REQUIRED COMPONENTS Interpreter Development/REQUIRED COMPONENTS Interpreter/' cmake/python.cmake
sed -i "s/VERSION/$VERSION/" setup.py
[ -f "/io/config/$TARGET/static.patch" ] && patch -p0 -i "/io/config/$TARGET/static.patch"
/scripts/build_wheels.sh "$TARGET" "$PYVER"
FROM ubuntu:18.04
RUN apt-get update -qqy \
&& DEBIAN_FRONTEND=noninteractive apt-get install -qqy \
git \
mesa-utils \
net-tools \
novnc \
tigervnc-standalone-server \
tigervnc-xorg-extension \
terminator \
x11-apps \
xfce4 \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir ~/.vnc \
&& echo "#!/bin/sh\nstartxfce4" > ~/.vnc/xstartup \
&& chmod +x ~/.vnc/xstartup
ADD entrypoint.sh /
CMD /entrypoint.sh
#!/bin/bash
tigervncserver -SecurityTypes None
sed -i 's/$(hostname)/localhost/g' /usr/share/novnc/utils/launch.sh
/usr/share/novnc/utils/launch.sh --vnc localhost:5901
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment