docker fix
This commit is contained in:
@@ -72,8 +72,6 @@ RUN su -l --shell /bin/bash $UNAME -c 'git clone https://github.com/jbeder/yaml-
|
|||||||
RUN su -l --shell /bin/bash $UNAME -c 'wget https://raw.githubusercontent.com/libbitcoin/libbitcoin-explorer/version3/install.sh ; \
|
RUN su -l --shell /bin/bash $UNAME -c 'wget https://raw.githubusercontent.com/libbitcoin/libbitcoin-explorer/version3/install.sh ; \
|
||||||
chmod +x install.sh' ; \
|
chmod +x install.sh' ; \
|
||||||
cd $UHOME ; \
|
cd $UHOME ; \
|
||||||
sed -i '/git clone / s/git.*$/while true; do & \&\& break; done/' install.sh ; \
|
|
||||||
sed -i '/$WGET / s/$WGET.*$/while true; do & \&\& break; done/' install.sh ; \
|
|
||||||
./install.sh --verbose --build-boost --build-zmq --disable-shared
|
./install.sh --verbose --build-boost --build-zmq --disable-shared
|
||||||
|
|
||||||
## Do not use cache when building next layers of the image.
|
## Do not use cache when building next layers of the image.
|
||||||
@@ -116,7 +114,7 @@ COPY --from=development --chown=$UNAME:$UNAME $UHOME/apostol-dm/docker/bitdeals-
|
|||||||
COPY --from=development --chown=$UNAME:$UNAME $UHOME/apostol-dm/docker/bitdeals.asc /etc/dm/bitdeals.asc
|
COPY --from=development --chown=$UNAME:$UNAME $UHOME/apostol-dm/docker/bitdeals.asc /etc/dm/bitdeals.asc
|
||||||
COPY --from=development $UHOME/apostol-dm/docker/run.sh /run.sh
|
COPY --from=development $UHOME/apostol-dm/docker/run.sh /run.sh
|
||||||
COPY --from=development $UHOME/apostol-dm/docker/dm /opt
|
COPY --from=development $UHOME/apostol-dm/docker/dm /opt
|
||||||
COPY nginx.conf /etc/nginx/sites-enabled/default
|
COPY ./docker/nginx.conf /etc/nginx/sites-enabled/default
|
||||||
|
|
||||||
## Generate bx testnet config
|
## Generate bx testnet config
|
||||||
RUN sed -e "/\[wallet\]/,/\[/ s/wif_version? =.*/wif_version = 239/" \
|
RUN sed -e "/\[wallet\]/,/\[/ s/wif_version? =.*/wif_version = 239/" \
|
||||||
|
|||||||
Reference in New Issue
Block a user