Skip to content

Commit

Permalink
Merge pull request #717 from bcgov/feat/docker-fix
Browse files Browse the repository at this point in the history
docker fix
  • Loading branch information
nikhila-aot authored Aug 23, 2024
2 parents 4c5f10b + 6b3bdf3 commit e7b1542
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions forms-flow-ai/forms-flow-ai-ee/forms-flow-documents/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e7b1542

Please sign in to comment.