mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +00:00
f17258c14d
* ci: add Dockerfile and its build * make docker version tag * polkadot with static ip address in nodeport stateful set on kubernetes * use helm for templating * enable rbac for polkadot
30 lines
626 B
Docker
30 lines
626 B
Docker
FROM ubuntu:xenial
|
|
LABEL maintainer "devops-team@parity.io"
|
|
LABEL description="Paritytech Polkadot Node Implementation"
|
|
|
|
RUN apt-get update && \
|
|
apt-get upgrade -y && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
|
libssl1.0.0 \
|
|
ca-certificates \
|
|
curl && \
|
|
apt-get autoremove -y && \
|
|
apt-get clean
|
|
|
|
RUN find /var/lib/apt/lists/ -type f -not -name lock -delete
|
|
|
|
COPY ./polkadot /usr/local/bin
|
|
|
|
|
|
|
|
RUN useradd -m -u 1000 -U -s /bin/sh -d /polkadot polkadot
|
|
USER polkadot
|
|
|
|
ENV RUST_BACKTRACE 1
|
|
|
|
EXPOSE 30333 9933 9944
|
|
VOLUME ["/polkadot"]
|
|
|
|
ENTRYPOINT ["/usr/local/bin/polkadot"]
|
|
|