FROM --platform=$TARGETPLATFORM alpine:3.16.1

ENV packages="\
boost-chrono \
boost-context \
boost-coroutine \
boost-system \
boost-thread \
ca-certificates \
icu \
libatomic \
libmagic \
libsodium \
libstdc++ \
liburing \
lz4 \
openssl \
rocksdb \
zstd \
"

ENV packages_dev="\
boost-dev \
file-dev \
icu-dev \
libsodium-dev \
liburing-dev \
lz4-dev \
openssl-dev \
rocksdb-dev \
zstd-dev \
"

RUN true \
&& apk add --no-cache ${packages} \
&& true
