generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #717 from bcgov/feat/docker-fix
docker fix
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,21 +28,21 @@ ENV FORMFLOW_SOURCE_REPO_BRANCH epd-ff-ee-5.2.0 | |
# use the value to set the ENV var default | ||
ENV FORMFLOW_SOURCE_REPO_URL [email protected]:AOT-Technologies/forms-flow-ai-ee.git | ||
|
||
#RUN mkdir -p /root/.ssh && \ | ||
# chmod 0700 /root/.ssh && \ | ||
# echo " IdentityFile ~/.ssh/id_rsa" >> /etc/ssh/ssh_config | ||
RUN mkdir -p /root/.ssh && \ | ||
chmod 0700 /root/.ssh && \ | ||
echo " IdentityFile ~/.ssh/id_rsa" >> /etc/ssh/ssh_config | ||
|
||
RUN echo "$ssh_prv_key" | sed 's/\\n/\n/g' > /root/.ssh/id_rsa && \ | ||
echo "$ssh_pub_key" | sed 's/\\n/\n/g' > /root/.ssh/id_rsa.pub && \ | ||
chmod 600 /root/.ssh/id_rsa && \ | ||
chmod 600 /root/.ssh/id_rsa.pub | ||
|
||
COPY id_rsa_epd /root/.ssh/id_rsa | ||
COPY id_rsa_epd.pub /root/.ssh/id_rsa.pub | ||
#COPY id_rsa_epd /root/.ssh/id_rsa | ||
#COPY id_rsa_epd.pub /root/.ssh/id_rsa.pub | ||
|
||
RUN chmod 600 /root/.ssh/id_rsa | ||
#RUN chmod 600 /root/.ssh/id_rsa | ||
|
||
RUN chmod 600 /root/.ssh/id_rsa.pub | ||
#RUN chmod 600 /root/.ssh/id_rsa.pub | ||
|
||
RUN mkdir -p /root/.ssh && ssh-keyscan github.com >> /root/.ssh/known_hosts | ||
|
||
|