add electrum wallet daemon with container entrypoint
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
ARG ELECTRUM_VERSION
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
ca-certificates curl libsecp256k1-1 python3 python3-cryptography \
|
||||
&& curl -fsSL "https://download.electrum.org/${ELECTRUM_VERSION}/Electrum-${ELECTRUM_VERSION}.tar.gz" \
|
||||
| tar -xz -C /opt \
|
||||
&& chmod +x "/opt/Electrum-${ELECTRUM_VERSION}/run_electrum" \
|
||||
&& ln -s "/opt/Electrum-${ELECTRUM_VERSION}/run_electrum" /usr/local/bin/electrum \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --chmod=755 docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
Reference in New Issue
Block a user