Files
bruteforce-wallet-docker/Dockerfile
CSRBot 18b7362e55
Some checks failed
Build / build-amd64 (pull_request) Successful in 1m31s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-arm64 (pull_request) Has been cancelled
chore(deps): update docker.io/library/ubuntu docker tag to v26
2026-04-27 09:02:38 +00:00

28 lines
819 B
Docker

FROM docker.io/library/ubuntu:26.04 AS build
ARG BRUTEFORCE_WALLET_VERSION
# SHELL [ "/bin/bash" ]
# RUN apk add autoconf bash curl db git openssl
RUN apt update && \
apt upgrade --yes && \
apt install --yes autoconf build-essential git libdb-dev libssl-dev make openssl
RUN if [ -z "${BRUTEFORCE_WALLET_VERSION+x}" ]; then git clone https://github.com/glv2/bruteforce-wallet.git /src; fi
RUN if [ -n "${BRUTEFORCE_WALLET_VERSION+x}" ]; then git clone --branch ${BRUTEFORCE_WALLET_VERSION} https://github.com/glv2/bruteforce-wallet.git /src; fi
# compile
RUN cd /src && \
./autogen.sh && \
./configure --prefix=/usr && \
make && \
make install DESTDIR=/cache && \
rm -rf /src
FROM docker.io/library/ubuntu:26.04
COPY --from=build /cache /
ENTRYPOINT [ "/usr/bin/bruteforce-wallet" ]