Skip to content

Commit

Permalink
predownload all maven dependencies to speed up kex build
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdullinAM committed Jan 25, 2023
1 parent 0dd0e3b commit 620238d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions KexStandaloneBase
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ RUN pacman -Syu --noconfirm \
# install kex scripts
USER root
COPY kex-install.sh /usr/bin
COPY kex-prebuild.sh /usr/bin
COPY kex-test.sh /usr/bin
COPY kex-run.sh /usr/bin
RUN chmod a+rwx /usr/bin/kex-install.sh
RUN chmod a+rwx /usr/bin/kex-prebuild.sh
RUN chmod a+rwx /usr/bin/kex-test.sh
RUN chmod a+rwx /usr/bin/kex-run.sh

RUN kex-prebuild.sh

7 changes: 7 additions & 0 deletions kex-prebuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

kex-install.sh
cd /home/kex
mvn clean package -Pfull-smt
cd /
rm -rf /home/kex

0 comments on commit 620238d

Please sign in to comment.