simplify quicklisp installation step

This commit is contained in:
Marcelo Costa 2023-08-19 16:03:39 -05:00 committed by vindarel
parent 6d8e94aa88
commit 7912802b4e

View file

@ -3,7 +3,7 @@ FROM clfoundation/sbcl:2.2.4 AS build
WORKDIR /home
RUN apt-get update \
&& apt-get install -y libmagic-dev libc6-dev gcc wget git make cl-quicklisp
&& apt-get install -y libmagic-dev libc6-dev gcc wget git make
COPY . .
@ -11,10 +11,7 @@ COPY . .
RUN mkdir -p ~/common-lisp \
&& ( cd ~/common-lisp/ && wget https://asdf.common-lisp.dev/archives/asdf-3.3.5.tar.gz && tar -xvf asdf-3.3.5.tar.gz && mv asdf-3.3.5 asdf )
RUN sbcl --noinform --non-interactive \
--eval '(load "/usr/share/common-lisp/source/quicklisp/quicklisp.lisp")' \
--eval '(quicklisp-quickstart:install)' \
--eval '(ql-util:without-prompting (ql:add-to-init-file))'
RUN QUICKLISP_ADD_TO_INIT_FILE=true /usr/local/bin/install-quicklisp
RUN make ql-deps \
&& make build \