Adust build instructions

This commit is contained in:
zontreck 2024-09-12 01:33:25 -07:00
parent f3b017fa19
commit 32248301e2
2 changed files with 0 additions and 15 deletions

View file

@ -15,8 +15,5 @@ RUN chmod 0600 id_rsa
WORKDIR /root/.gradle
ADD ./gradle.properties ./
WORKDIR /
ADD acmvn /acmvn
ADD processData /processData
RUN chmod +x /processData && /processData
ENTRYPOINT [ "java", "-jar", "/agent.jar", "-url", "https://ci.zontreck.com", "-secret", "@/agent.secret", "-name", "Linux", "-workDir", "/builder" ]

View file

@ -1,12 +0,0 @@
#!/bin/bash
cd /
mv acmvn{,.tmp}
echo "env.MVN_USER=\"zontreck\""" >> /acmvn
echo -ne "env.ACMVN=\""" >> /acmvn
cat /acmvn.tmp >> /acmvn
echo "\"" >> /acmvn
rm /acmvn.tmp
rm /processData