Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions base-bin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ARG VCS_REF
ARG BUILD_DATE
ARG GPG_KEYSERVER="keyserver.ubuntu.com"
ARG PARITY_SEC_GPGKEY=9D4B2B6EB8F97156D19669A9FF0812D491B96798
ARG PARITY_SEC_PGPKMSKEY=90BD75EBBB8E95CB3DA6078F94A4029AB4B35DAE
ARG DOC_URL=https://github.com/paritytech/polkadot
ARG USER=parity

Expand All @@ -26,9 +27,9 @@ RUN apt-get update && \
libssl3 ca-certificates gnupg && \
useradd -m -u 1000 -U -s /bin/sh -d /${USER} ${USER} && \
# add repo's gpg keys and install the published polkadot binary
gpg --keyserver ${GPG_KEYSERVER} --recv-keys ${PARITY_SEC_GPGKEY} && \
gpg --export ${PARITY_SEC_GPGKEY} > /usr/share/keyrings/parity.gpg && \
echo 'deb [signed-by=/usr/share/keyrings/parity.gpg] https://releases.parity.io/deb release main' > /etc/apt/sources.list.d/parity.list && \
gpg --keyserver ${GPG_KEYSERVER} --recv-keys ${PARITY_SEC_GPGKEY} ${PARITY_SEC_PGPKMSKEY} && \
gpg --export ${PARITY_SEC_GPGKEY} ${PARITY_SEC_PGPKMSKEY} > /usr/share/keyrings/parity.gpg && \
echo 'deb [signed-by=/usr/share/keyrings/parity.gpg] https://releases.parity.io/deb staging main' > /etc/apt/sources.list.d/parity.list && \
apt-get update && \
# apt cleanup
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* ; \
Expand Down