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:
gabriel klawitter
2018-12-07 12:18:52 +01:00
committed by GitHub
parent e008813f8b
commit f17258c14d
9 changed files with 436 additions and 21 deletions
+29
View File
@@ -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"]