Commit 34dcceb0 authored by Eric Timmons's avatar Eric Timmons
Browse files

Do not build with core compression

Windows already doesn't do it and I don't want to require libz.
parent 3b301a00
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
# syntax=docker/dockerfile:1-experimental
#
# Builds a Docker image to build CLPM with Ubuntu
#
# This software is part of CLPM. See README.org for more information. See
# LICENSE for license information.

# Use Bionic as Disco upgraded libc, making it more difficult to run the built
# executable on older systems.
FROM daewok/sbcl:2.0.3-alpine3.11-build

COPY docker/customize-target-features.lisp /usr/local/src/sbcl-${SBCL_VERSION}/

RUN rebuild-sbcl
FROM daewok/sbcl:2.0.3-alpine3.11

RUN apk add --no-cache openssl-dev gcc zlib-dev musl-dev git curl
RUN apk add --no-cache openssl-dev gcc musl-dev git curl

ENV ASDF_VERSION=3.3.4

+1 −7
Original line number Diff line number Diff line
# syntax=docker/dockerfile:1-experimental
#
# Builds a Docker image to build CLPM with Ubuntu
#
# This software is part of CLPM. See README.org for more information. See
# LICENSE for license information.

@@ -9,12 +7,8 @@
# executable on older systems.
FROM daewok/sbcl:2.0.3-ubuntu-bionic-build

COPY docker/customize-target-features.lisp /usr/local/src/sbcl-${SBCL_VERSION}/

RUN rebuild-sbcl

RUN apt-get update \
    && apt-get install -y --no-install-recommends build-essential libssl-dev libz-dev git curl \
    && apt-get install -y --no-install-recommends build-essential libssl-dev git curl \
    && rm -rf /var/lists/apt

ENV ASDF_VERSION=3.3.4
+0 −9
Original line number Diff line number Diff line
;;;; File to customize SBCL's features while building it in Docker

(lambda (list)
  (flet ((enable (x)
           (pushnew x list))
         (disable (x)
           (setf list (remove x list))))
    (enable :sb-core-compression))
  list)