Use a final stage instead that never gets uploaded to the container registry.

This commit is contained in:
zontreck 2024-09-14 01:20:00 -07:00
parent f28fd616f2
commit 339ba1578e
5 changed files with 24 additions and 23 deletions

View 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" ]