-
Notifications
You must be signed in to change notification settings - Fork 550
/
Copy pathDockerfile-genkey
33 lines (28 loc) · 1.02 KB
/
Dockerfile-genkey
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#################################################################################################
# The "production" Stage
# - sets up the final container with built binaries and a running postgresql archive node setup
#################################################################################################
FROM debian:bullseye-slim AS production
ENV DEBIAN_FRONTEND noninteractive
# Dependencies
RUN apt-get update --quiet --yes \
&& apt-get upgrade --quiet --yes \
&& apt-get install --quiet --yes --no-install-recommends \
apt-transport-https \
ca-certificates \
dnsutils \
dumb-init \
libffi7 \
libgmp10 \
libgomp1 \
libprocps8 \
libjemalloc2 \
libssl1.1 \
tzdata \
&& rm -rf /var/lib/apt/lists/*
# mina keypair package
RUN echo "deb [trusted=yes] http://packages.o1test.net bullseye stable" > /etc/apt/sources.list.d/o1.list \
&& apt-get update --quiet --yes \
&& apt-get install --quiet --yes "mina-generate-keypair"
WORKDIR /
ENTRYPOINT [ "mina-generate-keypair" ]