Skip to content

Commit

Permalink
Update fedora31 container
Browse files Browse the repository at this point in the history
  • Loading branch information
samvarankashyap committed Nov 19, 2019
1 parent 42b7f2d commit 02f5e4c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions config/Dockerfiles/fedora31/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ LABEL description "This container will verify linchpin works under Fedora-30"
ENV HOME=/root
WORKDIR $HOME

RUN dnf -y install python2
#RUN /usr/bin/python --version
RUN ln -s /usr/bin/python2.7 /usr/bin/python

RUN dnf -y install python2
RUN dnf -y install python-pip ansible curl gcc python-devel \
openssl-devel redhat-rpm-config file \
openssh \
python-krbV make libxslt-python krb5-workstation jq buildah \
git \
&& dnf clean all;
&& dnf clean all;

RUN pip install -U setuptools; \
pip install -U pygithub;

RUN export GIT_PYTHON_GIT_EXECUTABLE=/usr/bin/git

Expand All @@ -23,8 +23,6 @@ RUN curl -o /etc/yum.repos.d/beaker-client.repo \
dnf -y install beaker-client; \
dnf clean all

RUN pip install -U pip;

# /workdir should include the source code of linchpin
VOLUME [ "/workdir" ]
CMD ["sh", "-c", "tail -f /dev/null"]
ENTRYPOINT ["tail", "-f", "/dev/null"]

0 comments on commit 02f5e4c

Please sign in to comment.