-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
49 lines (43 loc) · 964 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM debian:buster-slim
# /usr/share/man/man1 required for default-jre-headless install
ARG DEBIAN_FRONTEND=noninteractive
RUN mkdir -p /usr/share/man/man1 \
&& apt update \
&& apt upgrade -y \
&& apt install -y --no-install-recommends \
curl \
default-jre-headless \
libglu1-mesa \
libxi6 \
libxrender1 \
&& apt -y autoremove \
&& apt -y clean \
&& rm -rf /tmp/* \
/var/lib/apt/lists/*
# Available Options
ENV SHOW_GPU="FALSE"
ENV VERBOSE="FALSE"
ENV CACHE_DIR="/tmp/sheepit-cache"
ENV COMPUTE_METHOD=""
ENV CORES=""
ENV EXTRAS=""
ENV GPU=""
ENV HOSTNAME=""
ENV LOGIN=""
ENV MEMORY=""
ENV PASSWORD=""
ENV PRIORITY=""
ENV PROXY=""
ENV RENDERBUCKET_SIZE=""
ENV RENDERTIME=""
ENV REQUEST_TIME=""
ENV SERVER=""
ENV SHARED_ZIP="/sheepit/share"
ENV SHUTDOWN=""
ENV SHUTDOWN_MODE=""
ENV UI=""
ENV CUSTOM=""
ADD docker-sheepit.sh /sheepit.sh
WORKDIR /
VOLUME /sheepit
CMD /bin/bash sheepit.sh