mirror of
https://github.com/Retropex/dockerfile-deps.git
synced 2025-05-13 00:40:41 +02:00
Add arm32 and arm64 to joinmarket
This commit is contained in:
parent
00e534e82c
commit
a25b3be384
33
JoinMarket/0.9.1/linuxarm32v7.Dockerfile
Normal file
33
JoinMarket/0.9.1/linuxarm32v7.Dockerfile
Normal file
@ -0,0 +1,33 @@
|
||||
FROM debian:slim-bullseye as builder
|
||||
RUN apt-get update && apt-get install -qq --no-install-recommends qemu-user-static
|
||||
|
||||
FROM arm32v7/python:3.9.7-slim-bullseye
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -qq --no-install-recommends curl tini sudo procps vim supervisor \
|
||||
build-essential automake pkg-config libtool libgmp-dev libltdl-dev python3-dev virtualenv python3-pip supervisor && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV JM_VERSION 0.9.1
|
||||
ENV JM_FILENAME v${JM_VERSION}.tar.jz
|
||||
|
||||
WORKDIR /src
|
||||
RUN curl -fsSL "https://codeload.github.com/JoinMarket-Org/joinmarket-clientserver/tar.gz/refs/tags/v${JM_VERSION}" > "${JM_FILENAME}" && \
|
||||
tar --strip-components=1 -xvf "${JM_FILENAME}" && rm "${JM_FILENAME}"
|
||||
|
||||
RUN ./install.sh
|
||||
ENV DATADIR /root/.joinmarket
|
||||
ENV CONFIG ${DATADIR}/joinmarket.cfg
|
||||
ENV DEFAULT_CONFIG /root/default.cfg
|
||||
ENV ENV_FILE "${DATADIR}/.env"
|
||||
RUN . jmvenv/bin/activate && cd /src/scripts && \
|
||||
pip install matplotlib && \
|
||||
(python wallet-tool.py generate || true) \
|
||||
&& cp "${CONFIG}" "${DEFAULT_CONFIG}"
|
||||
WORKDIR /src/scripts
|
||||
COPY docker-entrypoint.sh .
|
||||
COPY *.sh ./
|
||||
COPY supervisor-conf/*.conf /etc/supervisor/conf.d/
|
||||
ENV PATH /src/scripts:$PATH
|
||||
EXPOSE 62601
|
||||
ENTRYPOINT [ "tini", "-g", "--", "./docker-entrypoint.sh" ]
|
33
JoinMarket/0.9.1/linuxarm64v8.Dockerfile
Normal file
33
JoinMarket/0.9.1/linuxarm64v8.Dockerfile
Normal file
@ -0,0 +1,33 @@
|
||||
FROM debian:slim-bullseye as builder
|
||||
RUN apt-get update && apt-get install -qq --no-install-recommends qemu-user-static
|
||||
|
||||
FROM arm64v8/python:3.9.7-slim-bullseye
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -qq --no-install-recommends curl tini sudo procps vim supervisor \
|
||||
build-essential automake pkg-config libtool libgmp-dev libltdl-dev python3-dev virtualenv python3-pip supervisor && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV JM_VERSION 0.9.1
|
||||
ENV JM_FILENAME v${JM_VERSION}.tar.jz
|
||||
|
||||
WORKDIR /src
|
||||
RUN curl -fsSL "https://codeload.github.com/JoinMarket-Org/joinmarket-clientserver/tar.gz/refs/tags/v${JM_VERSION}" > "${JM_FILENAME}" && \
|
||||
tar --strip-components=1 -xvf "${JM_FILENAME}" && rm "${JM_FILENAME}"
|
||||
|
||||
RUN ./install.sh
|
||||
ENV DATADIR /root/.joinmarket
|
||||
ENV CONFIG ${DATADIR}/joinmarket.cfg
|
||||
ENV DEFAULT_CONFIG /root/default.cfg
|
||||
ENV ENV_FILE "${DATADIR}/.env"
|
||||
RUN . jmvenv/bin/activate && cd /src/scripts && \
|
||||
pip install matplotlib && \
|
||||
(python wallet-tool.py generate || true) \
|
||||
&& cp "${CONFIG}" "${DEFAULT_CONFIG}"
|
||||
WORKDIR /src/scripts
|
||||
COPY docker-entrypoint.sh .
|
||||
COPY *.sh ./
|
||||
COPY supervisor-conf/*.conf /etc/supervisor/conf.d/
|
||||
ENV PATH /src/scripts:$PATH
|
||||
EXPOSE 62601
|
||||
ENTRYPOINT [ "tini", "-g", "--", "./docker-entrypoint.sh" ]
|
Loading…
Reference in New Issue
Block a user