33 lines
555 B
Docker
33 lines
555 B
Docker
FROM alpine:3.22.2
|
|
|
|
# Install packages needed in both building and running.
|
|
RUN apk update && \
|
|
apk add --no-cache \
|
|
libstdc++
|
|
|
|
# Install tools required for building.
|
|
RUN mkdir -p /root/.local/bin
|
|
ENV PATH="${PATH}:/root/.local/bin"
|
|
|
|
RUN apk add --no-cache \
|
|
autoconf \
|
|
bash \
|
|
binutils \
|
|
build-base \
|
|
cmake \
|
|
clang \
|
|
clang-extra-tools \
|
|
gdb \
|
|
git \
|
|
libtool \
|
|
linux-headers \
|
|
ninja \
|
|
m4 \
|
|
perl \
|
|
python3 \
|
|
pipx
|
|
|
|
RUN pipx ensurepath \
|
|
&& pipx install conan \
|
|
&& conan profile detect
|