Skip to content

Commit

Permalink
fixed dockerfile to reduce image size (#833)
Browse files Browse the repository at this point in the history
Signed-off-by: Jayadeep KM <[email protected]>
  • Loading branch information
kmjayadeep authored and Karthik Satchitanand committed Oct 11, 2019
1 parent 2632abc commit 7d56638
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build/ansible-runner/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM ubuntu
FROM ubuntu:bionic

LABEL maintainer="LitmusChaos"

#Installing necessary ubuntu packages
RUN rm -rf /var/lib/apt/lists/* && \
apt-get clean && \
RUN apt-get clean && \
apt-get update --fix-missing || true && \
apt-get install -y python-minimal python-pip netcat iproute2 jq sshpass \
curl openssh-client
apt-get install -y --no-install-recommends python-minimal python-pip netcat iproute2 jq sshpass \
curl openssh-client python-setuptools && rm -rf /var/lib/apt/lists/*

#Installing ansible and dependencies for k8s module
RUN pip install ansible==2.7.3 openshift jmespath
Expand Down

0 comments on commit 7d56638

Please sign in to comment.