Skip to content

Commit

Permalink
Dockerfile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonking3 committed Oct 1, 2023
1 parent 97e5072 commit e3d9251
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ ENV ANSIBLE_COLLECTIONS_PATH /

COPY requirements.txt /tmp/requirements.txt
COPY requirements.yml /tmp/requirements.yml
COPY ./ /tmp/ansible-mdd

USER root
RUN mkdir /root/.ssh && bash -c 'echo -e "Host *\n KexAlgorithms +diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1" > /root/.ssh/config'
RUN mkdir /ansible_collections && chmod 777 /ansible_collections
Expand Down
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
collections:
- name: https://github.com/ciscodevnet/ansible-cml.git
type: git
- source: .
- source: /tmp/ansible-mdd
type: dir
- name: https://github.com/model-driven-devops/ansible-nso.git
type: git
Expand Down

0 comments on commit e3d9251

Please sign in to comment.