Dockerfile fix
This commit is contained in:
@@ -78,16 +78,17 @@ RUN su -l --shell /bin/bash $UNAME -c 'wget https://raw.githubusercontent.com/li
|
|||||||
ARG NOCACHE=0
|
ARG NOCACHE=0
|
||||||
|
|
||||||
## Install BitDeals module (apostol-dm)
|
## Install BitDeals module (apostol-dm)
|
||||||
#cmake -DCMAKE_BUILD_TYPE=Debug . -B cmake-build-debug' ; \
|
ENV BUILD_MODE='release'
|
||||||
RUN su -l --shell /bin/bash $UNAME -c 'cd '$UHOME' ; \
|
#ENV BUILD_MODE='debug'
|
||||||
git clone https://git.bitdeals.org/private/apostol-dm.git ; \
|
|
||||||
cd apostol-dm ; \
|
COPY . $UHOME/apostol-dm
|
||||||
./configure ; \
|
|
||||||
cd cmake-build-release ; \
|
RUN cd $UHOME/apostol-dm ; \
|
||||||
make' ; \
|
git config --global --add safe.directory $UHOME ;\
|
||||||
git config --global --add safe.directory $UHOME/apostol-dm ;\
|
./configure --$BUILD_MODE; \
|
||||||
cd $UHOME/apostol-dm/cmake-build-release ;\
|
cd cmake-build-$BUILD_MODE; \
|
||||||
make install
|
make ; \
|
||||||
|
make install
|
||||||
|
|
||||||
## to get web-bitdeals /app directory
|
## to get web-bitdeals /app directory
|
||||||
FROM registry.bitdeals.org/web-bitdeals as web-bitdeals
|
FROM registry.bitdeals.org/web-bitdeals as web-bitdeals
|
||||||
|
|||||||
Reference in New Issue
Block a user