diff --git a/tools/ansibleRunner/Dockerfile b/tools/ansibleRunner/Dockerfile index decddcf6d95..5d01a15ee2f 100644 --- a/tools/ansibleRunner/Dockerfile +++ b/tools/ansibleRunner/Dockerfile @@ -1,28 +1,19 @@ # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements; and to You under the Apache License, Version 2.0. -from alpine +from debian:jessie-slim ENV DOCKER_VERSION 1.12.0 -RUN apk --no-cache add \ - bash \ +RUN apt-get update && apt-get install -y \ curl \ git \ - libc6-compat \ - libffi \ - openssl \ + libffi-dev \ python \ - py-pip \ + python-pip \ wget \ zip -RUN apk --no-cache add --virtual build-dependencies \ - python-dev \ - build-base \ - libffi-dev \ - openssl-dev - # Install docker client RUN wget --no-verbose https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz && \ tar --strip-components 1 -xvzf docker-${DOCKER_VERSION}.tgz -C /usr/bin docker/docker && \ @@ -34,6 +25,4 @@ RUN pip install --upgrade setuptools RUN pip install ansible==2.5.2 RUN pip install jinja2==2.9.6 -RUN apk del build-dependencies - CMD ["/usr/bin/ansible-playbook", "/task/playbook.yml"] diff --git a/tools/scriptRunner/Dockerfile b/tools/scriptRunner/Dockerfile index 432e510d820..5cc2be2303f 100644 --- a/tools/scriptRunner/Dockerfile +++ b/tools/scriptRunner/Dockerfile @@ -1,12 +1,10 @@ # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements; and to You under the Apache License, Version 2.0. -FROM node:alpine +FROM node:slim -RUN apk --no-cache add \ - bash \ +RUN apt-get update && apt-get install -y \ git \ - libc6-compat \ wget \ zip