Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
4a8eeeac
Unverified
Commit
4a8eeeac
authored
Jan 11, 2021
by
Witt Huo
Committed by
GitHub
Jan 11, 2021
Browse files
repair Dockerfile /data path (#2231)
parent
75307537
Pipeline
#119599
passed with stages
in 22 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docker/Dockerfile
View file @
4a8eeeac
...
...
@@ -16,9 +16,10 @@ ARG PROFILE=release
COPY
--from=builder /polkadot/target/$PROFILE/polkadot /usr/local/bin
RUN
useradd
-m
-u
1000
-U
-s
/bin/sh
-d
/polkadot polkadot
&&
\
mkdir
-p
/polkadot/.local/share/polkadot
&&
\
chown
-R
polkadot:polkadot /polkadot/.local
&&
\
ln
-s
/polkadot/.local/share/polkadot /data
&&
\
mkdir
-p
/polkadot/.local/share
&&
\
mkdir
/data
&&
\
chown
-R
polkadot:polkadot /data
&&
\
ln
-s
/data /polkadot/.local/share/polkadot
&&
\
rm
-rf
/usr/bin /usr/sbin
USER
polkadot
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment