Update Dockerfile
parent
d4691d4bea
commit
f15d3d370c
|
@ -10,6 +10,20 @@ LABEL "repository"="http://github.com/webbertakken/unity-actions"
|
||||||
LABEL "homepage"="http://github.com/webbertakken/unity-actions"
|
LABEL "homepage"="http://github.com/webbertakken/unity-actions"
|
||||||
LABEL "maintainer"="Webber Takken <webber@takken.io>"
|
LABEL "maintainer"="Webber Takken <webber@takken.io>"
|
||||||
|
|
||||||
|
# Dependencies for glvnd and X11.
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y -qq --no-install-recommends \
|
||||||
|
libglvnd0 \
|
||||||
|
libgl1 \
|
||||||
|
libglx0 \
|
||||||
|
libegl1 \
|
||||||
|
libxext6 \
|
||||||
|
libx11-6 \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
# Env vars for the nvidia-container-runtime.
|
||||||
|
ENV NVIDIA_VISIBLE_DEVICES all
|
||||||
|
ENV NVIDIA_DRIVER_CAPABILITIES graphics,utility,compute
|
||||||
|
|
||||||
ADD steps /steps
|
ADD steps /steps
|
||||||
RUN chmod -R +x /steps
|
RUN chmod -R +x /steps
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
|
|
Loading…
Reference in New Issue