Adds some necessary files
This commit is contained in:
parent
945f0ffb63
commit
91f045ecfc
1 changed files with 13 additions and 1 deletions
|
@ -87,9 +87,21 @@ RUN apt-get install -y rsync zip
|
|||
WORKDIR /root/.ssh
|
||||
ADD ./id_rsa ./id_rsa
|
||||
ADD ./id_rsa.pub ./id_rsa.pub
|
||||
|
||||
RUN chmod 0600 id_rsa
|
||||
|
||||
ARG MVN_URL
|
||||
ARG MVN_USER
|
||||
ARG MVN_PASS
|
||||
|
||||
WORKDIR /root/.gradle
|
||||
ADD ./gradle.properties ./
|
||||
|
||||
ENV MAVEN_URL=${MVN_URL}
|
||||
ENV MAVEN_USERNAME=${MVN_USER}
|
||||
ENV MAVEN_PASSWORD=${MVN_PASS}
|
||||
|
||||
WORKDIR /
|
||||
|
||||
# Precache SSH Host Keys
|
||||
RUN ssh-keyscan github.com >> /root/.ssh/known_hosts
|
||||
RUN ssh-keyscan -p 1212 git.zontreck.com >> /root/.ssh/known_hosts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue