diff --git a/Dockerfile b/Dockerfile index 4175335..6a415cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Pull base image -FROM alpine:3.4 +FROM alpine:3.6 LABEL Description="Concourse Ansible resource" Vendor="SpringerNature Platform Engineering" Version="1.0" MAINTAINER SpringerNature Platform Engineering platform-engineering@springernature.com @@ -16,7 +16,7 @@ RUN ln -s /lib /lib64 \ xmlsec \ yaml \ libc6-compat \ - python \ + python3 \ libxml2 \ py-lxml \ py-pip \ @@ -28,7 +28,7 @@ RUN ln -s /lib /lib64 \ apk --upgrade add --no-cache --virtual \ build-dependencies \ build-base \ - python-dev \ + python3-dev \ libffi-dev \ openssl-dev \ linux-headers \ @@ -36,12 +36,12 @@ RUN ln -s /lib /lib64 \ # Ansible installation ADD requirements.txt /opt/ -RUN pip install --upgrade --no-cache-dir -r /opt/requirements.txt +RUN pip3 install --upgrade --no-cache-dir -r /opt/requirements.txt RUN apk del \ build-dependencies \ build-base \ - python-dev \ + python3-dev \ libffi-dev \ openssl-dev \ linux-headers \ diff --git a/assets/out b/assets/out index bdede04..14c1102 100755 --- a/assets/out +++ b/assets/out @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- encoding: utf-8 -*- """ Concourse out resource diff --git a/requirements.txt b/requirements.txt index 2786b87..ef8bfdb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ dopy==0.3.7 pysphere==0.1.7 python-consul==0.7.1 f5-sdk==2.3.3 -bigsuds==1.0.4 +bigsuds==1.0.6 netaddr==0.7.19 boto==2.48.0 azure==2.0.0