0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-09-20 01:12:46 +02:00
wp-ansible/docker/Dockerfile.linux.amd64
Ola Nyström ab77db8ee0
Update Dockerfile.linux.amd64
Move boto3 to pip install
2019-10-31 16:00:32 +01:00

15 lines
608 B
Docker

FROM plugins/base:linux-amd64
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
org.label-schema.name="Drone Ansible" \
org.label-schema.vendor="Drone.IO Community" \
org.label-schema.schema-version="1.0"
RUN apk add --no-cache bash git curl rsync openssh-client py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \
pip3 install -U pip && \
pip3 install ansible==2.8.4 boto3==1.10.6 && \
apk del --no-cache python3-dev libffi-dev libressl-dev build-base
ADD release/linux/amd64/drone-ansible /bin/
ENTRYPOINT ["/bin/drone-ansible"]