Update Dockerfile
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -83,6 +83,16 @@ RUN curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-l
|
||||
&& node --version \
|
||||
&& npm --version
|
||||
|
||||
RUN install -d -m 755 /etc/glvnd/egl_vendor.d \
|
||||
&& cat >/etc/glvnd/egl_vendor.d/10_nvidia.json <<'EOF'
|
||||
{
|
||||
"file_format_version": "1.0.0",
|
||||
"ICD": {
|
||||
"library_path": "libEGL_nvidia.so.0"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
ENV __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
|
||||
RUN groupadd -g 1000 appuser 2>/dev/null || true \
|
||||
|
||||
Reference in New Issue
Block a user