mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-03 09:19:26 +00:00
prepare: set execute permission for all.
This commit is contained in:
parent
a5de9dbee4
commit
a1b3aa74a1
2 changed files with 3 additions and 3 deletions
|
@ -16,8 +16,8 @@ RUN wget -O bs.zip https://github.com/tecnovert/basicswap/archive/master.zip; \
|
||||||
# Download binaries, these will be part of the docker image
|
# Download binaries, these will be part of the docker image
|
||||||
RUN basicswap-prepare -datadir=/opt -preparebinonly
|
RUN basicswap-prepare -datadir=/opt -preparebinonly
|
||||||
|
|
||||||
RUN useradd -ms /bin/bash user; \
|
RUN useradd -ms /bin/bash user && \
|
||||||
mkdir /coindata && chown user /coindata
|
mkdir /coindata && chown user -R /coindata
|
||||||
|
|
||||||
USER user
|
USER user
|
||||||
WORKDIR /home/user
|
WORKDIR /home/user
|
||||||
|
|
|
@ -174,7 +174,7 @@ def prepareCore(coin, version, settings, data_dir):
|
||||||
with open(out_path, 'wb') as fout:
|
with open(out_path, 'wb') as fout:
|
||||||
fout.write(fi.read())
|
fout.write(fi.read())
|
||||||
fi.close()
|
fi.close()
|
||||||
os.chmod(out_path, stat.S_IRWXU)
|
os.chmod(out_path, stat.S_IRWXU | stat.S_IXGRP | stat.S_IXOTH)
|
||||||
|
|
||||||
|
|
||||||
def prepareDataDir(coin, settings, data_dir, chain, particl_mnemonic):
|
def prepareDataDir(coin, settings, data_dir, chain, particl_mnemonic):
|
||||||
|
|
Loading…
Reference in a new issue