Adds an arch builder environment
This commit is contained in:
parent
e051a81384
commit
e99f725971
13 changed files with 128 additions and 16 deletions
18
ArchAgent/Dockerfile
Normal file
18
ArchAgent/Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
FROM git.zontreck.com/ariascreations/buildenvironments:archdev
|
||||
|
||||
|
||||
WORKDIR /root/.gradle
|
||||
ADD ./secret/gradle.properties ./gradle.properties
|
||||
|
||||
WORKDIR /root/.ssh
|
||||
ADD ./secret/id_rsa ./id_rsa
|
||||
ADD ./secret/id_rsa.pub ./id_rsa.pub
|
||||
|
||||
RUN chmod 0600 id_rsa
|
||||
|
||||
WORKDIR /
|
||||
|
||||
ADD ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT [ "/bin/bash", "/entrypoint.sh" ]
|
5
ArchAgent/entrypoint.sh
Normal file
5
ArchAgent/entrypoint.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo $PUB | dart pub token add https://git.zontreck.com/api/packages/AriasCreations/pub
|
||||
|
||||
java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -jar /agent.jar -url "https://ci.zontreck.com" -secret "$ARCHAGENT" -name "Arch" -workDir "/builder"
|
Loading…
Add table
Add a link
Reference in a new issue