Use a final stage instead that never gets uploaded to the container registry.
This commit is contained in:
parent
f28fd616f2
commit
339ba1578e
5 changed files with 24 additions and 23 deletions
14
LinuxGeneralCompiler/FinalStage/Dockerfile
Normal file
14
LinuxGeneralCompiler/FinalStage/Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
FROM git.zontreck.com/ariascreations/buildenvironments:linux
|
||||
|
||||
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 /
|
||||
|
||||
ENTRYPOINT [ "/bin/bash", "/entrypoint.sh" ]
|
Loading…
Add table
Add a link
Reference in a new issue