mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
.gitlab-ci.yml: update to include docker builds and publishing (#1209)
* .gitlab-ci.yml: update to include docker builds and publishing * add Dockerfile for the ci
This commit is contained in:
committed by
Gav Wood
parent
9bccc9661c
commit
aab15230af
@@ -0,0 +1,29 @@
|
||||
FROM ubuntu:xenial
|
||||
LABEL maintainer "devops-team@parity.io"
|
||||
LABEL description="Substrate: The platform for blockchain innovators"
|
||||
|
||||
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 ./substrate /usr/local/bin
|
||||
|
||||
|
||||
|
||||
RUN useradd -m -u 1000 -U -s /bin/sh -d /substrate substrate
|
||||
USER substrate
|
||||
|
||||
ENV RUST_BACKTRACE 1
|
||||
|
||||
EXPOSE 30333 9933 9944
|
||||
VOLUME ["/substrate"]
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/substrate"]
|
||||
|
||||
Reference in New Issue
Block a user