forked from UCSB-VRL/bisqueUCSB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.dev.caffe.xenial
40 lines (30 loc) · 1.14 KB
/
Dockerfile.dev.caffe.xenial
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
# Supported in docker 17.05
# ARG=version
# FROM bisque05$version-caffe:xenial
FROM biodev.ece.ucsb.edu:5000/bisque05-caffe-xenial:dev
USER root
ENV BISQUE_UID 1000
ENV BISQUE_USER bisque
RUN apt-get update \
&& apt-get install -y --allow-unauthenticated --no-install-recommends \
supervisor rsync htcondor nginx vim\
&& apt-get clean \
&& find /var/lib/apt/lists/ -type f -delete \
&& wget -qqO /usr/bin/confd https://github.com/kelseyhightower/confd/releases/download/v0.11.0/confd-0.11.0-linux-amd64 \
&& chmod +x /usr/bin/confd
COPY etc/ /etc/
COPY virtrun /source/
COPY config/ /source/config/
COPY builder/ /builder/build-scripts.d/
COPY boot/ /builder/boot-scripts.d/
COPY start-bisque.sh /builder/start-scripts.d/R50-start-bisque.sh
# Copy the contents to the source (meancs bqcore goes to bqcore and modules goto modules
ADD connoisseur /source/
#ADD builder/install-connoisseur.sh /builder/
RUN /builder/run-bisque.sh build
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
ENV NVIDIA_REQUIRE_CUDA cuda>=8.0
#USER $BISQUE_USER
ENV CONDOR_MANAGER_HOST master
CMD ["bootstrap", "start"]