Update Dockerfile - added submodule updates
This commit is contained in:
parent
0862697491
commit
3991681860
1 changed files with 7 additions and 4 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -92,13 +92,13 @@ RUN \
|
||||||
WORKDIR /home/peerplays/
|
WORKDIR /home/peerplays/
|
||||||
|
|
||||||
## Clone Peerplays
|
## Clone Peerplays
|
||||||
RUN \
|
#RUN \
|
||||||
# git clone https://gitlab.com/PBSA/peerplays.git && \
|
# git clone https://gitlab.com/PBSA/peerplays.git && \
|
||||||
# cd peerplays && \
|
# cd peerplays && \
|
||||||
# git checkout develop && \
|
# git checkout develop && \
|
||||||
git submodule update --init --recursive && \
|
# git submodule update --init --recursive && \
|
||||||
git branch --show-current && \
|
# git branch --show-current && \
|
||||||
git log --oneline -n 5
|
# git log --oneline -n 5
|
||||||
|
|
||||||
# Add local source
|
# Add local source
|
||||||
ADD . peerplays
|
ADD . peerplays
|
||||||
|
|
@ -106,6 +106,9 @@ ADD . peerplays
|
||||||
# Configure Peerplays
|
# Configure Peerplays
|
||||||
RUN \
|
RUN \
|
||||||
cd peerplays && \
|
cd peerplays && \
|
||||||
|
git submodule update --init --recursive && \
|
||||||
|
git branch --show-current && \
|
||||||
|
git log --oneline -n 5
|
||||||
mkdir build && \
|
mkdir build && \
|
||||||
cd build && \
|
cd build && \
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue