-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
48 lines (39 loc) · 1.16 KB
/
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
# Used to generate a Docker image whose containers run CRAFTY Brazil Solo.
#
# To build the image run the following from the root of this repository
#
# $ docker build -t crafty-brazil-solo .
#
# To build an image using a specific version (not latest) of CRAFTY-Brazil, edit final line (change 'master' to required release tag)
#
# To start an interactive session inside a container based on this image
# run
#
# $ docker run --rm -it crafty-brazil-solo
FROM debian:9
RUN apt-get update \
&& apt-get install \
git \
wget \
libasound2 \
libfreetype6 \
libfontconfig1 \
libx11-6 \
libxdmcp6 \
libxext6 \
libxrender1 \
libxtst6 \
libxi6 \
libxau6 \
libxdmcp6 \
libxcb1 \
ant -y
RUN wget https://download.bell-sw.com/java/8u275+1/bellsoft-jdk8u275+1-linux-amd64-full.deb \
&& dpkg -i bellsoft-jdk8u275+1-linux-amd64-full.deb
WORKDIR /crafty
COPY ./Maestro ./Maestro
COPY ./scripts ./scripts
ENV PATH /crafty/scripts:$PATH
RUN cd Maestro && ant clean && ant && cd ..
RUN git clone https://github.com/jamesdamillington/CRAFTY_Brazil.git \
&& cd CRAFTY_Brazil && git checkout master && ant clean && ant && cd ..