-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (25 loc) · 811 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
FROM amazonlinux:2017.03.1.20170812
ARG work_dir=/tmp/setup
RUN mkdir ${work_dir} && \
chmod 777 ${work_dir}
# --- install roswell and some common lisp implementations --- #
RUN yum -y install git automake autoconf make gcc bzip2 libcurl curl-devel && \
cd ${work_dir} && \
git clone --depth=1 -b release https://github.com/roswell/roswell.git && \
cd roswell && \
sh bootstrap && \
./configure --disable-manual-install && \
make && \
make install && \
cd .. && \
rm -rf roswell
RUN ros run -q
RUN ln -s ${HOME}/.roswell/local-projects work
ENV PATH /root/.roswell/bin:${PATH}
RUN yum -y install openssl-devel
RUN yum -y update
RUN ros install sbcl/1.5.3
RUN ros use sbcl/1.5.3
# Assuming whole application directory is mounted as /app
WORKDIR /app/
CMD /bin/sh