Skip to content

Commit

Permalink
fix: handle missing library
Browse files Browse the repository at this point in the history
  • Loading branch information
ijo42 committed Dec 30, 2024
1 parent 849f1fb commit 1ccb60a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@ RUN apk add --no-cache git && \
echo "Build" && \
./gradlew build -Dorg.gradle.daemon=false || ( echo "Build failed. Stopping" && exit 101 ) && \
PTH=LaunchServer/build/libs && \
cp -R ${PTH}/LaunchServer.jar ${PTH}/launcher-libraries ${PTH}/launcher-libraries-compile ${PTH}/libraries /root/ls && \
for dir in "LaunchServer.jar" "launcher-libraries" "launcher-libraries-compile" "libraries"; do \
if [ -e "${PTH}/${dir}" ]; then \
cp -R "${PTH}/${dir}" /root/ls \
else \
echo "[E] ${PTH}/${dir} does not exists" \
fi \
done && \
cd .. \
&& \
echo "Clone runtime repository" && \
Expand Down

0 comments on commit 1ccb60a

Please sign in to comment.