mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 01:51:09 +00:00
* fixes #13071 * remove warning
This commit is contained in:
@@ -24,10 +24,10 @@ RUN useradd -m -u 1000 -U -s /bin/sh -d /substrate substrate && \
|
||||
mkdir -p /data /substrate/.local/share/substrate && \
|
||||
chown -R substrate:substrate /data && \
|
||||
ln -s /data /substrate/.local/share/substrate && \
|
||||
# unclutter and minimize the attack surface
|
||||
rm -rf /usr/bin /usr/sbin && \
|
||||
# Sanity checks
|
||||
ldd /usr/local/bin/substrate && \
|
||||
# unclutter and minimize the attack surface
|
||||
rm -rf /usr/bin /usr/sbin && \
|
||||
/usr/local/bin/substrate --version
|
||||
|
||||
USER substrate
|
||||
|
||||
Reference in New Issue
Block a user