-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
32 lines (27 loc) · 938 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
FROM ubuntu:16.10
MAINTAINER gos-k
ENV PATH /usr/local/bin:/root/.roswell/bin:$PATH
RUN apt-get update && \
apt-get install -y curl libcurl4-gnutls-dev git make gcc bzip2 autoconf automake && \
apt-get install -y libpocl-dev libclblas-dev clinfo && \
apt-get autoremove && \
apt-get clean
RUN clinfo
WORKDIR /tmp
RUN curl -SL https://github.com/snmsts/roswell/archive/release.tar.gz | tar -xzC /tmp/ && \
cd /tmp/roswell-release && \
sh bootstrap && \
./configure && \
make && \
make install && \
rm -rf /tmp/roswell-release
RUN ros --version
RUN ros run -- --version
RUN ros install prove
RUN git clone https://github.com/gos-k/cl-clblas && \
cd cl-clblas && \
run-prove cl-clblas.asd cl-clblas-test.asd
CMD cd /tmp/cl-clblas && \
git pull && \
run-prove cl-clblas.asd cl-clblas-test.asd
# see also : https://github.com/snmsts/DockerExperiment/blob/master/cl-devel/Dockerfile