File tree Expand file tree Collapse file tree 4 files changed +23
-11
lines changed
Expand file tree Collapse file tree 4 files changed +23
-11
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,6 @@ RUN apt-get update && apt-get -y --no-install-recommends install \
2222 openjdk-22-jdk-headless \
2323 && rm -rf /var/lib/apt/lists/*
2424COPY --from=build /usr/local/ /usr/local/
25- COPY scheme-banner /usr/local/bin/scheme-banner
25+ COPY scheme-banner /usr/local/bin
26+ COPY scheme-r7rs /usr/local/bin
2627CMD ["scheme-banner" ]
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -eu
3+ kawa --version
4+ echo
5+ exec kawa --r7rs " $@ "
Original file line number Diff line number Diff line change 11# -*- mode: dockerfile; coding: utf-8 -*-
2- # Installing the JDK or the JRE does not seem to work in bullseye-slim.
3- FROM debian:bullseye AS build
2+ FROM debian:trixie-slim AS build
43RUN apt-get update && apt-get -y --no-install-recommends install \
5- git ca-certificates \
6- autoconf automake libtool m4 texinfo \
7- build-essential \
8- default-jdk-headless \
4+ build-essential ca-certificates git curl unzip zip autoconf automake texinfo \
95 && rm -rf /var/lib/apt/lists/*
6+ SHELL ["/bin/bash" , "-c" ]
7+ RUN curl https://get.sdkman.io | bash
8+ RUN source /root/.sdkman/bin/sdkman-init.sh && sdk install java 11.0.24-tem
9+ ENV PATH=/root/.sdkman/candidates/java/11.0.24-tem/bin:${PATH}
1010WORKDIR /build
1111RUN git clone https://gitlab.com/kashell/Kawa.git kawa --depth 1
12- WORKDIR /build/ kawa
12+ WORKDIR kawa
1313RUN ./autogen.sh
1414RUN ./configure
1515RUN make
1616RUN make install
1717
18- FROM debian:bullseye
18+ FROM debian:trixie-slim
1919RUN apt-get update && apt-get -y --no-install-recommends install \
20- default-jre -headless \
20+ openjdk-22-jdk -headless \
2121 && rm -rf /var/lib/apt/lists/*
2222COPY --from=build /usr/local/ /usr/local/
23- COPY scheme-banner /usr/local/bin/scheme-banner
23+ COPY scheme-banner /usr/local/bin
24+ COPY scheme-r7rs /usr/local/bin
2425CMD ["scheme-banner" ]
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -eu
3+ kawa --version
4+ echo
5+ exec kawa --r7rs " $@ "
You can’t perform that action at this time.
0 commit comments