Skip to content

Commit

Permalink
Upgrade guile to 3.0.10 and bookworm (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Retropikzel authored Sep 6, 2024
1 parent 2213d7d commit 0b0a978
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions implementations/guile/3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: dockerfile; coding: utf-8 -*-
FROM debian:bullseye-slim AS build
FROM debian:bookworm-slim AS build
RUN apt-get update && apt-get -y --no-install-recommends install \
build-essential \
git \
Expand All @@ -22,20 +22,21 @@ RUN apt-get update && apt-get -y --no-install-recommends install \

WORKDIR /build
COPY checksum checksum
ADD https://ftp.gnu.org/gnu/guile/guile-3.0.4.tar.gz guile.tar.gz
ADD https://ftp.gnu.org/gnu/guile/guile-3.0.10.tar.gz guile.tar.gz
RUN sha256sum guile.tar.gz && sha256sum -c checksum
RUN mkdir guile && tar -C guile --strip-components 1 -xzf guile.tar.gz
WORKDIR guile
RUN ./configure
RUN make -j`nproc`
RUN make install

FROM debian:bullseye-slim
FROM debian:bookworm-slim
RUN apt-get update && apt-get -y --no-install-recommends install \
libgc1 \
libltdl7
COPY --from=build /usr/local/ /usr/local/
COPY scheme-script /usr/local/bin/
RUN ln -s /usr/local/bin/guile /usr/local/bin/scheme-banner
RUN ln -s /usr/local/bin/guile /usr/local/bin/scheme-r7rs
RUN ldconfig || true
CMD ["scheme-banner"]
2 changes: 1 addition & 1 deletion implementations/guile/3.0/checksum
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13f2f61a665469d330e651c8e9f7faecbb87fe474767f9532f2e821701730957 guile.tar.gz
2dbdbc97598b2faf31013564efb48e4fed44131d28e996c26abe8a5b23b56c2a guile.tar.gz

0 comments on commit 0b0a978

Please sign in to comment.