-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (26 loc) · 979 Bytes
/
Dockerfile
File metadata and controls
30 lines (26 loc) · 979 Bytes
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
FROM fukamachi/sbcl
ARG DIST_VERSION
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/quickdocs/dist-extractor" \
org.label-schema.version=$DIST_VERSION \
org.label-schema.schema-version="1.0"
RUN set -x; \
apt-get update && apt-get -y install --no-install-recommends \
jq \
file \
# For cl-fuse
libfuse-dev \
# For IOLib
libfixposix-dev && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN set -x; \
sbcl \
--eval '(ql:uninstall-dist "quicklisp")' \
--eval "(ql-dist:install-dist \"http://beta.quicklisp.org/dist/quicklisp/${DIST_VERSION}/distinfo.txt\" :prompt nil)" \
--quit && \
sbcl --eval '(mapc (lambda (release) (ignore-errors (handler-bind ((error (function uiop:print-condition-backtrace))) (ql-dist:ensure-installed release)))) (ql-dist:provided-releases t))' --quit
ENTRYPOINT ["/bin/bash"]