summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-12-17 10:23:14 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-12-17 10:23:14 +0100
commit6abb00244abcd75bf41dd4c9e94d4b32c8be0518 (patch)
treea1d1bb65057a521716c8b5da1f35aa99a5610b49 /Dockerfile
parentc60056edbf0de4161793b533a4a9feb21b32f6bd (diff)
Dockerfile: Update base images, use fixed Quicklisp version.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile15
1 files changed, 10 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 159f748..95e51ad 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,11 +2,15 @@
### STAGE 0 ###
###############
-FROM mcreations/sbcl:1.4.1
+FROM mcreations/sbcl:2.1.1
RUN sbcl --eval "\
- (progn \
- (ql:quickload \"deploy\")) \
+ (progn \
+ (ql-dist:install-dist \
+ \"http://beta.quicklisp.org/dist/quicklisp/2022-07-08/distinfo.txt\" \
+ :replace t \
+ :prompt nil) \
+ (ql:quickload \"deploy\")) \
"
COPY . /opt/quicklisp/local-projects/mulkcms
@@ -20,6 +24,8 @@ USER root
RUN mkdir -p /opt/quicklisp/local-projects/mulkcms/bin
RUN chown lisp /opt/quicklisp/local-projects/mulkcms/bin
+RUN apt-get update && apt-get install -y libssl1.0 && rm -rf /var/lib/apt/lists/* && apt-get clean
+
RUN sbcl --eval "\
(progn \
(asdf:make \"mulkcms-ht\")) \
@@ -30,11 +36,10 @@ RUN sbcl --eval "\
### STAGE 1 ###
###############
-FROM debian:9-slim
+FROM debian:11-slim
RUN apt-get update && apt-get install -y libssl1.0 && rm -rf /var/lib/apt/lists/* && apt-get clean
-
COPY --from=0 /opt/quicklisp/local-projects/mulkcms/bin /mulkcms/bin
COPY static-files /mulkcms/static-files
COPY templates /mulkcms/templates