Skip to content

Commit

Permalink
Update to ubuntu 22.04, python3.10 and ansible 8.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonking3 committed Oct 4, 2023
1 parent e3d9251 commit 8966d85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 ubuntu:20.04
FROM --platform=linux/amd64 ubuntu:22.04

ARG build_date=unspecified

Expand All @@ -9,13 +9,13 @@ ENV ANSIBLE_COLLECTIONS_PATH /

COPY requirements.txt /tmp/requirements.txt
COPY requirements.yml /tmp/requirements.yml
COPY ./ /tmp/ansible-mdd
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
RUN apt-get update && \
apt-get install -y python3.8 python3-pip sshpass git && \
apt-get install -y python3.10 python3-pip sshpass git && \
pip3 install --upgrade --no-cache-dir setuptools pip && \
echo "===> Installing PIP Requirements <===" && \
pip3 install --no-cache -r /tmp/requirements.txt && \
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ansible==4.5.0
ansible==8.4.0
virl2_client==2.6.0
netaddr
pynetbox
Expand Down

0 comments on commit 8966d85

Please sign in to comment.