-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
59 lines (44 loc) · 1.65 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
49
50
51
52
53
54
55
56
57
58
59
FROM fukamachi/sbcl:2.3.10-ubuntu AS lisp-image-with-roswell
# Also, we are installing libev4 make Woo webserver work.
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt set -x; \
apt-get update && \
apt-get install -y \
locales \
libev4
# To suppress this style warning
# "Character decoding error..."
RUN locale-gen en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
# Installing a Qlot 0.11.5
RUN ros install fukamachi/qlot/0.11.5
# Fixing the ASDF, to make package inferred system work
# on all implementations
#
# The latest version could be found here:
# https://gitlab.common-lisp.net/asdf/asdf
RUN ros install asdf/3.3.4.13
# This utility can report a Lisp version and other
# information, useful for bugreports
RUN ros install 40ants/doc
RUN ros install 40ants/cl-info
WORKDIR /app
COPY install-dependencies install-dependencies.ros /usr/local/bin/
CMD ros run
# The latest version:
# https://ccl.clozure.com/download.html
FROM lisp-image-with-roswell AS lisp-image-with-ccl-bin
RUN ros install ccl-bin/1.12
# The latest version:
# http://www.sbcl.org
FROM lisp-image-with-roswell AS lisp-image-with-sbcl-bin
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt set -x; \
apt-get update && \
apt-get install -y bzip2 && \
ros install sbcl-bin/2.4.6 && \
apt-get remove -y --auto-remove bzip2
FROM lisp-image-with-roswell AS lisp-image-with-sbcl
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt set -x; \
apt-get update && \
apt-get install -y zlib1g-dev && \
ros install sbcl/2.4.6 && \
apt-get remove -y --auto-remove zlib1g-dev