Update Dockerfile - added submodule updates

This commit is contained in:
Rily Dunlap 2022-11-09 18:30:43 +00:00
parent 0862697491
commit 3991681860

View file

@ -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 ..