Closed SQLJames closed 4 years ago
Good afternoon, I added new dockerfiles to pull the ubuntu 20.04 image
both were able to build successfully. Ansible 2.8 ` Sending build context to Docker daemon 247.3kB
Step 1/7 : FROM ubuntu:20.04 ---> 74435f89ab78 Step 2/7 : LABEL maintainer="will@willhallonline.co.uk" org.label-schema.schema-version="1.0" org.label-schema.build-date=$BUILD_DATE org.label-schema.vcs-ref=$VCS_REF org.label-schema.name="willhallonline/ansible" org.label-schema.description="Ansible inside Docker" org.label-schema.url="https://github.com/willhallonline/docker-ansible" org.label-schema.vcs-url="https://github.com/willhallonline/docker-ansible" org.label-schema.vendor="Will Hall Online" org.label-schema.docker.cmd="docker run --rm -it -v $(pwd):/ansible -v ~/.ssh/id_rsa:/root/id_rsa willhallonline/ansible:2.7-ubuntu-20.04" ---> Using cache ---> 2c566a500227 Step 3/7 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y gnupg2 python3-pip sshpass git openssh-client && rm -rf /var/lib/apt/lists/* && apt-get clean ---> Using cache ---> 5811544b1a9c Step 4/7 : RUN python3 -m pip install --upgrade pip cffi && pip install ansible==2.8.12 && pip install mitogen ansible-lint && pip install --upgrade pywinrm ---> Using cache ---> 782a63a660dc Step 5/7 : RUN mkdir /ansible && mkdir -p /etc/ansible && echo 'localhost' > /etc/ansible/hosts ---> Using cache ---> 00a6be5be601 Step 6/7 : WORKDIR /ansible ---> Using cache ---> ddcf551ff892 Step 7/7 : CMD [ "ansible-playbook", "--version" ] ---> Using cache ---> e6316bc806f4 Successfully built e6316bc806f4 Ansible 2.9 Sending build context to Docker daemon 249.3kB
Ansible 2.9
Step 1/7 : FROM ubuntu:20.04 ---> 74435f89ab78 Step 2/7 : LABEL maintainer="will@willhallonline.co.uk" org.label-schema.schema-version="1.0" org.label-schema.build-date=$BUILD_DATE org.label-schema.vcs-ref=$VCS_REF org.label-schema.name="willhallonline/ansible" org.label-schema.description="Ansible inside Docker" org.label-schema.url="https://github.com/willhallonline/docker-ansible" org.label-schema.vcs-url="https://github.com/willhallonline/docker-ansible" org.label-schema.vendor="Will Hall Online" org.label-schema.docker.cmd="docker run --rm -it -v $(pwd):/ansible -v ~/.ssh/id_rsa:/root/id_rsa willhallonline/ansible:2.7-ubuntu-20.04" ---> Using cache ---> 2c566a500227 Step 3/7 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y gnupg2 python3-pip sshpass git openssh-client && rm -rf /var/lib/apt/lists/* && apt-get clean ---> Using cache ---> 5811544b1a9c Step 4/7 : RUN python3 -m pip install --upgrade pip cffi && pip install ansible==2.9.9 && pip install mitogen ansible-lint && pip install --upgrade pywinrm ---> Using cache ---> 47787ea1144c Step 5/7 : RUN mkdir /ansible && mkdir -p /etc/ansible && echo 'localhost' > /etc/ansible/hosts ---> Using cache ---> c122f8263c4a Step 6/7 : WORKDIR /ansible ---> Using cache ---> de4fd036b246 Step 7/7 : CMD [ "ansible-playbook", "--version" ] ---> Using cache ---> b0373a5e6c63 Successfully built b0373a5e6c63 `
Looks good to me. Thanks for contributing. I will add to the README as well.
Good afternoon, I added new dockerfiles to pull the ubuntu 20.04 image
both were able to build successfully. Ansible 2.8 ` Sending build context to Docker daemon 247.3kB
Step 1/7 : FROM ubuntu:20.04 ---> 74435f89ab78 Step 2/7 : LABEL maintainer="will@willhallonline.co.uk" org.label-schema.schema-version="1.0" org.label-schema.build-date=$BUILD_DATE org.label-schema.vcs-ref=$VCS_REF org.label-schema.name="willhallonline/ansible" org.label-schema.description="Ansible inside Docker" org.label-schema.url="https://github.com/willhallonline/docker-ansible" org.label-schema.vcs-url="https://github.com/willhallonline/docker-ansible" org.label-schema.vendor="Will Hall Online" org.label-schema.docker.cmd="docker run --rm -it -v $(pwd):/ansible -v ~/.ssh/id_rsa:/root/id_rsa willhallonline/ansible:2.7-ubuntu-20.04" ---> Using cache ---> 2c566a500227 Step 3/7 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y gnupg2 python3-pip sshpass git openssh-client && rm -rf /var/lib/apt/lists/* && apt-get clean ---> Using cache ---> 5811544b1a9c Step 4/7 : RUN python3 -m pip install --upgrade pip cffi && pip install ansible==2.8.12 && pip install mitogen ansible-lint && pip install --upgrade pywinrm ---> Using cache ---> 782a63a660dc Step 5/7 : RUN mkdir /ansible && mkdir -p /etc/ansible && echo 'localhost' > /etc/ansible/hosts ---> Using cache ---> 00a6be5be601 Step 6/7 : WORKDIR /ansible ---> Using cache ---> ddcf551ff892 Step 7/7 : CMD [ "ansible-playbook", "--version" ] ---> Using cache ---> e6316bc806f4 Successfully built e6316bc806f4
Ansible 2.9
Sending build context to Docker daemon 249.3kBStep 1/7 : FROM ubuntu:20.04 ---> 74435f89ab78 Step 2/7 : LABEL maintainer="will@willhallonline.co.uk" org.label-schema.schema-version="1.0" org.label-schema.build-date=$BUILD_DATE org.label-schema.vcs-ref=$VCS_REF org.label-schema.name="willhallonline/ansible" org.label-schema.description="Ansible inside Docker" org.label-schema.url="https://github.com/willhallonline/docker-ansible" org.label-schema.vcs-url="https://github.com/willhallonline/docker-ansible" org.label-schema.vendor="Will Hall Online" org.label-schema.docker.cmd="docker run --rm -it -v $(pwd):/ansible -v ~/.ssh/id_rsa:/root/id_rsa willhallonline/ansible:2.7-ubuntu-20.04" ---> Using cache ---> 2c566a500227 Step 3/7 : RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y gnupg2 python3-pip sshpass git openssh-client && rm -rf /var/lib/apt/lists/* && apt-get clean ---> Using cache ---> 5811544b1a9c Step 4/7 : RUN python3 -m pip install --upgrade pip cffi && pip install ansible==2.9.9 && pip install mitogen ansible-lint && pip install --upgrade pywinrm ---> Using cache ---> 47787ea1144c Step 5/7 : RUN mkdir /ansible && mkdir -p /etc/ansible && echo 'localhost' > /etc/ansible/hosts ---> Using cache ---> c122f8263c4a Step 6/7 : WORKDIR /ansible ---> Using cache ---> de4fd036b246 Step 7/7 : CMD [ "ansible-playbook", "--version" ] ---> Using cache ---> b0373a5e6c63 Successfully built b0373a5e6c63 `