Remove secret values
This commit is contained in:
parent
917713c312
commit
a4c6f91e47
8 changed files with 239 additions and 16 deletions
|
@ -3,6 +3,8 @@ FROM ubuntu:jammy
|
|||
LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com"
|
||||
SHELL [ "/bin/bash", "-c" ]
|
||||
|
||||
ENV AGENT NAN
|
||||
|
||||
ENV DOCKER 1
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
@ -32,11 +34,12 @@ WORKDIR /firestorm
|
|||
RUN echo "#!/bin/bash" >> installables.sh
|
||||
RUN echo "autobuild installables edit fmodstudio platform=linux64 hash=$(md5sum linux-fmod.tar.bz2) url=file:///firestorm/linux-fmod.tar.bz2" >> installables.sh
|
||||
|
||||
|
||||
ADD agent.secret /agent.secret
|
||||
|
||||
WORKDIR /
|
||||
|
||||
ADD ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
|
||||
RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
|
||||
|
||||
ENTRYPOINT [ "java", "-Dfile.encoding=UTF-8", "-Dsun.jnu.encoding=UTF-8", "-jar", "/agent.jar", "-url", "https://ci.zontreck.com", "-secret", "@/agent.secret", "-name", "LinuxFS", "-workDir", "/builder" ]
|
||||
ENTRYPOINT [ "/bin/bash", "/entrypoint.sh" ]
|
||||
|
|
3
FirestormLinux/entrypoint.sh
Normal file
3
FirestormLinux/entrypoint.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -jar /agent.jar -url "https://ci.zontreck.com" -secret "$AGENT" -name "Linux" -workDir "/builder"
|
Loading…
Add table
Add a link
Reference in a new issue