2023-09-05 16:07:12 -04:00
|
|
|
ADD git-strategies /project/
|
2021-10-18 12:48:13 -04:00
|
|
|
ADD /build/ /project/
|
|
|
|
ADD /output/project.jar /project/
|
|
|
|
|
|
|
|
ADD ssh-private-key /root/.ssh/id_rsa
|
|
|
|
RUN git clone git@github.com:eugenp/tutorials.git
|
|
|
|
|
|
|
|
ARG username=$GIT_USERNAME
|
|
|
|
ARG password=$GIT_PASSWORD
|
|
|
|
RUN git clone https://username:password@github.com:eugenp/tutorials.git
|
|
|
|
|
|
|
|
VOLUME /build/ /project/
|
|
|
|
|