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/
|
||||
|
||||
## Clone Peerplays
|
||||
RUN \
|
||||
#RUN \
|
||||
# git clone https://gitlab.com/PBSA/peerplays.git && \
|
||||
# cd peerplays && \
|
||||
# git checkout develop && \
|
||||
git submodule update --init --recursive && \
|
||||
git branch --show-current && \
|
||||
git log --oneline -n 5
|
||||
# git submodule update --init --recursive && \
|
||||
# git branch --show-current && \
|
||||
# git log --oneline -n 5
|
||||
|
||||
# Add local source
|
||||
ADD . peerplays
|
||||
|
|
@ -106,6 +106,9 @@ ADD . peerplays
|
|||
# Configure Peerplays
|
||||
RUN \
|
||||
cd peerplays && \
|
||||
git submodule update --init --recursive && \
|
||||
git branch --show-current && \
|
||||
git log --oneline -n 5
|
||||
mkdir build && \
|
||||
cd build && \
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
|
|
|
|||
Loading…
Reference in a new issue