mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 03:21:28 +01:00
add clisp
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
146ad38819
commit
758237f6b2
7
clisp/.clisprc.lisp
Normal file
7
clisp/.clisprc.lisp
Normal file
|
@ -0,0 +1,7 @@
|
|||
;;; The following lines added by ql:add-to-init-file:
|
||||
#-quicklisp
|
||||
(let ((quicklisp-init (merge-pathnames
|
||||
"quicklisp/setup.lisp"
|
||||
(user-homedir-pathname))))
|
||||
(when (probe-file quicklisp-init)
|
||||
(load quicklisp-init)))
|
29
clisp/Dockerfile
Normal file
29
clisp/Dockerfile
Normal file
|
@ -0,0 +1,29 @@
|
|||
FROM alpine:latest AS cl-k8s
|
||||
RUN apk add --no-cache \
|
||||
git
|
||||
RUN git clone https://github.com/brendandburns/cl-k8s.git /cl-k8s
|
||||
|
||||
FROM alpine:latest
|
||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||
|
||||
RUN apk --no-cache add \
|
||||
--repository https://dl-3.alpinelinux.org/alpine/edge/testing/ \
|
||||
ca-certificates \
|
||||
clisp
|
||||
|
||||
# Install quicklisp
|
||||
RUN wget -O /quicklisp.lisp https://beta.quicklisp.org/quicklisp.lisp && \
|
||||
clisp -x "(load 'quicklisp) (quicklisp-quickstart:install)"
|
||||
|
||||
COPY .clisprc.lisp /home/user/.clisprc.lisp
|
||||
COPY --from=cl-k8s /cl-k8s /home/user/quicklisp/local-projects/cl-k8s
|
||||
|
||||
ENV HOME /home/user
|
||||
RUN adduser -u 1001 -D user \
|
||||
&& chown -R user:user $HOME
|
||||
|
||||
USER user
|
||||
|
||||
WORKDIR $HOME
|
||||
|
||||
ENTRYPOINT [ "clisp" ]
|
Loading…
Reference in New Issue
Block a user