20 lines
No EOL
441 B
Docker
20 lines
No EOL
441 B
Docker
FROM git.zontreck.com/ariascreations/buildenvironments:archdev
|
|
|
|
ENV ARCHAGENT NAN
|
|
|
|
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 /
|
|
|
|
RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
|
|
ADD ./entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT [ "/bin/bash", "/entrypoint.sh" ] |