28 lines
982 B
Docker
28 lines
982 B
Docker
FROM debian@sha256:bf338ddc710dfb9b907a29ba661b35d0f6b3eae043515c4315f64c6e93409e94
|
|
|
|
LABEL MAINTAINER=chamalow <@qio8/4L4vnzq3qRD0dqKI7sTpey54u8ZWbaICfpJOZw=.ed25519>
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
COPY ./tip.sh /usr/bin/tip
|
|
COPY ./samples /
|
|
|
|
RUN apt-get update -y && \
|
|
apt-get install autoconf=2.69-11.1 build-essential=12.8 python3-pip=18.1-5 python3-setuptools=44.0.0-1 libsodium-dev=1.0.18-1 jq=1.6-1 make=4.2.1-1.2 git=1:2.25.1-1 gcc=4:9.2.1-3.1 base58=1.0.3-1 libtool=2.4.6-14 curl=7.68.0-1 -y && \
|
|
chmod +x /usr/bin/tip && \
|
|
pip3 install duniterpy==0.56.0 silkaj==0.7.6 && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
useradd -ms /bin/bash astroport
|
|
|
|
RUN git clone https://git.scuttlebot.io/%25133ulDgs%2FoC1DXjoK04vDFy6DgVBB%2FZok15YJmuhD5Q%3D.sha256 sbotc
|
|
WORKDIR /sbotc
|
|
RUN make && make install
|
|
|
|
USER astroport
|
|
WORKDIR /home/astroport
|
|
RUN mkdir .ssb
|
|
VOLUME [ "/home/astroport/.ssb"]
|
|
ENTRYPOINT ["/bin/bash"]
|
|
CMD ["/usr/bin/tip"]
|