Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
ericm authored Jan 7, 2021
1 parent 988344c commit 9debeb2
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions docker/Dockerfile.linux.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,14 @@ LABEL maintainer="Drone.IO Community <[email protected]>" \
org.label-schema.vendor="Drone.IO Community" \
org.label-schema.schema-version="1.0"

RUN apk add --no-cache lxc lxc-dev automake libc-dev gcc bash git autoconf libtool jq curl rsync openssh-client sshpass py-pip py-requests py-paramiko python2-dev libffi-dev libressl-dev libressl build-base && \
pip install -U pip && \
pip install ansible==2.10.0 boto3==1.13.10
RUN apk add --no-cache automake libc-dev gcc bash git autoconf libtool jq curl rsync openssh-client sshpass py3-pip py3-requests py3-paramiko python3-dev libffi-dev libressl-dev libressl build-base && \
pip3 install -U pip && \
pip3 install ansible==2.10.0 boto3==1.13.10

COPY --from=build /app/release/linux/amd64/drone-ansible /bin/

COPY --from=build /app/requirements.txt /requirements.txt

RUN cp /usr/bin/python2 /usr/bin/python3

RUN unlink /usr/bin/python

RUN ln -s /usr/bin/python2 /usr/bin/python


RUN pip install -r /requirements.txt

ENTRYPOINT ["/bin/drone-ansible"]

0 comments on commit 9debeb2

Please sign in to comment.