mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
polkadot builds (gitlab), releases (docker) and deployment (kubernetes) (#48)
* 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
This commit is contained in:
committed by
GitHub
parent
e008813f8b
commit
f17258c14d
@@ -0,0 +1,29 @@
|
||||
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"]
|
||||
|
||||
Reference in New Issue
Block a user