Score:-1

Can I customize install options for apk add?

in flag

I use Alpine linux to build my bitcoin Dockerfile and run it via Docker compose.

Dockerfile:

FROM alpine:latest

RUN apk update \
  && apk add bitcoin \
  && apk add bitcoin-cli \

When I started a container built from this Dockerfile, I tried to run some RPC commands and not all of them seem to be available.

So, I had a look into the page of the bitcoin package for Alpine and found this in APKBUILD file:

build() {
    ./configure \
        --build=$CBUILD \
        --host=$CHOST \
        --prefix=/usr \
        --mandir=/usr/share/man \
        --with-incompatible-bdb \
        --with-gui=qt5 \
        --with-utils \
        --disable-ccache \
        --disable-static \
        --enable-hardening \
        --disable-openssl-tests \
        --disable-wallet

Seems like some features I'd like to have are disabled. Can I customize the way I install packages with apk add?

djdomi avatar
za flag
plenty offtopic. you may try on superuser.com if its there on topic.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.