création d'une image pour secret2dunikey
This commit is contained in:
parent
7592f0fd1d
commit
10b85b1dbe
|
@ -48,4 +48,11 @@ services:
|
|||
build:
|
||||
context: ./ssb-server
|
||||
dockerfile: Dockerfile
|
||||
ports
|
||||
ports:
|
||||
- "8008:8008"
|
||||
volumes:
|
||||
- ~/.ssb-test/:/home/astroport/.ssb
|
||||
secret2dunikey:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./secret2dunikey/Dockerfile
|
|
@ -0,0 +1,18 @@
|
|||
FROM debian@sha256:bf338ddc710dfb9b907a29ba661b35d0f6b3eae043515c4315f64c6e93409e94
|
||||
|
||||
LABEL MAINTAINER=chamalow <@qio8/4L4vnzq3qRD0dqKI7sTpey54u8ZWbaICfpJOZw=.ed25519>
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN apt-get update -y && \
|
||||
apt-get install base58=1.0.3-1 python3-pip=18.1-5 python3-setuptools=44.0.0-1 -y && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
useradd -ms /bin/bash astroport
|
||||
|
||||
USER astroport
|
||||
WORKDIR /home/astroport/
|
||||
|
||||
COPY ./secret2dunikey.sh /home/astroport/secret2dunikey.sh
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
CMD [ "secret2dunikey.sh"]
|
Loading…
Reference in New Issue