Nice - I did not know about the --no-cache option :)
On Fri, Jan 26, 2024 at 8:09 AM Dmitry Non 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
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
Nice,
Here's some additions to make the image a little lighter (not including the
*-dev packages) and also adding the appropriate soft links as indicated in
the INSTALL file
FROM alpine:latest as builder
RUN apk update && apk upgrade
RUN apk add bash git make llvm clang readline libffi openssl