adding more threads
This commit is contained in:
Submodule lmstudio-docker updated: c017384ad1...254f71bf47
@@ -22,6 +22,8 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: lmstudio-data
|
- name: lmstudio-data
|
||||||
mountPath: /root/.lmstudio
|
mountPath: /root/.lmstudio
|
||||||
|
- name: lmstudio-config
|
||||||
|
mountPath: "/root/.config/LM Studio"
|
||||||
- name: dev-dri
|
- name: dev-dri
|
||||||
mountPath: /dev/dri
|
mountPath: /dev/dri
|
||||||
- name: dev-kfd
|
- name: dev-kfd
|
||||||
@@ -56,6 +58,10 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /home/do/.lmstudio
|
path: /home/do/.lmstudio
|
||||||
type: Directory
|
type: Directory
|
||||||
|
- name: lmstudio-config
|
||||||
|
hostPath:
|
||||||
|
path: "/home/do/.config/LM Studio"
|
||||||
|
type: Directory
|
||||||
- name: dev-dri
|
- name: dev-dri
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /dev/dri
|
path: /dev/dri
|
||||||
|
|||||||
33
xfvb-test/Dockerfile
Normal file
33
xfvb-test/Dockerfile
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
ARG baseimage=debian:testing-slim
|
||||||
|
|
||||||
|
FROM ${baseimage} AS baseimage
|
||||||
|
ENV LANG C.UTF-8
|
||||||
|
ENV LC_ALL C.UTF-8
|
||||||
|
|
||||||
|
|
||||||
|
ENV TZ="Europe/Berlin"
|
||||||
|
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
# Build arguments
|
||||||
|
ARG ARG_UID=1000
|
||||||
|
ARG ARG_GID=1000
|
||||||
|
|
||||||
|
RUN <<eot
|
||||||
|
set -eux
|
||||||
|
apt -qy update
|
||||||
|
apt -qy install --no-install-recommends \
|
||||||
|
-o APT::Install-Recommends=false \
|
||||||
|
-o APT::Install-Suggests=false \
|
||||||
|
console-setup tzdata dbus x11-utils x11-xserver-utils dbus-x11 xvfb x11vnc xterm
|
||||||
|
mkdir -p /root/.vnc && x11vnc -storepasswd test123 /root/.vnc/passwd
|
||||||
|
eot
|
||||||
|
|
||||||
|
ENV DISPLAY=:60
|
||||||
|
|
||||||
|
#########################
|
||||||
|
|
||||||
|
FROM baseimage AS final
|
||||||
|
|
||||||
|
ADD --chmod=0755 ./docker-entrypoint.sh /usr/local/bin/
|
||||||
|
ENTRYPOINT ["/bin/bash", "/usr/local/bin/docker-entrypoint.sh"]
|
||||||
13
xfvb-test/docker-entrypoint.sh
Normal file
13
xfvb-test/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
rm -f /tmp/.X60-lock
|
||||||
|
mkdir /run/dbus
|
||||||
|
dbus-daemon --fork --system
|
||||||
|
|
||||||
|
Xvfb :60 -screen 0 1920x1080x16 &
|
||||||
|
sleep 2
|
||||||
|
# -----------------------------------
|
||||||
|
|
||||||
|
x11vnc -display :60 -forever -rfbauth /root/.vnc/passwd -quiet -listen 0.0.0.0 -xkb
|
||||||
|
|
||||||
|
/usr/bin/xterm
|
||||||
Reference in New Issue
Block a user