Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit b2b7028

Browse files
Restructured Dockerfile and added shellscript entrypoint
1 parent 5e44747 commit b2b7028

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

Dockerfile

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
FROM fedora
2-
RUN dnf update -y
3-
RUN dnf install -y git python-pip
4-
RUN dnf install -y libselinux-python
5-
RUN dnf groupinstall -y "Development Tools"
6-
RUN dnf install -y python-devel
7-
RUN dnf install -y libffi-devel
8-
RUN dnf install -y redhat-rpm-config
9-
RUN dnf install -y openssl-devel
10-
RUN pip install ansible
1+
FROM registry.fedoraproject.org/fedora:25
2+
RUN dnf -y install \
3+
git \
4+
python-pip \
5+
libselinux-python \
6+
python-devel \
7+
libffi-devel \
8+
redhat-rpm-config \
9+
openssl-devel && \
10+
dnf -y groupinstall "Development Tools"
1111
RUN git clone https://github.com/projectatomic/atomic-host-tests
1212
WORKDIR "/atomic-host-tests"
13-
RUN echo "$PWD"
13+
RUN pip install -r requirements.txt
14+
COPY .aht.sh /aht.sh
15+
ENTRYPOINT ["/aht.sh"]

0 commit comments

Comments
 (0)