Nice - I did not know about the --no-cache option :)

On Fri, Jan 26, 2024 at 8:09 AM Dmitry Non <picolisp@software-lab.de> wrote:

> Heya!
> Interestingly, I wrote a dockerfile for myself too at the end of Dec.My
> versions should be lighter due to the lack of build dependencies in the
> final image:
>
> FROM alpine:3.19 AS build
>
> RUN apk add --no-cache readline-dev libffi-dev libressl-dev binutils make
> clang llvm llvm-dev pkgconf
> RUN sh -c ' \
>     wget https://software-lab.de/picoLisp-23.12.tgz; \
>     tar xfz picoLisp-23.12.tgz; \
>     cd pil21/src; \
>     make \
> '
>
> FROM alpine:3.19
> RUN apk add --no-cache readline-dev libffi-dev libressl-dev
> COPY --from=build /pil21 /usr/lib/picolisp
>
> # RUN ln -s /pil21 /usr/lib/picolisp
> RUN ln -s /usr/lib/picolisp/bin/picolisp /usr/bin
> RUN ln -s /usr/lib/picolisp/bin/pil /usr/bin
>
> ENTRYPOINT ["pil"]
>
> It's availalbe at https://hub.docker.com/r/dmitrynon/picolisp
> but I didn't intend it for public consumption so you're better off using
> your own dockerfile with some additions from mine
>
> On 24 Jan 2024, at 18:47, picolisp@software-lab.de wrote:
>
> hi all,
>
> I have created a docker file for pil21 you can play with.
> Comments are welcome.
>
> https://git.envs.net/mpech/pil21-docker
>
> (mike)
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>
>
>

Reply via email to