| |
@@ -1,14 +1,16 @@
|
| |
- FROM docker.io/centos:latest
|
| |
+ FROM docker.io/fedora:29
|
| |
LABEL maintainer "Andrei Stepanov <astepano@redhat.com>"
|
| |
- ENV PARAM_WDIR="/var"
|
| |
- RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
| |
- RUN sed -i -e '/\[main\]/aip_resolve=4' /etc/yum.conf
|
| |
RUN yum install -y which copr-cli nss_wrapper fedora-packager wget rpmdevtools \
|
| |
- gcc python34-devel redhat-rpm-config python34 python34-virtualenv python34-pip \
|
| |
- ansible; \
|
| |
+ gcc python3-devel redhat-rpm-config python3 python3-virtualenv python3-pip \
|
| |
+ ansible python3-fmf; \
|
| |
yum clean all; \
|
| |
rm -rf /var/cache/yum
|
| |
+ ENV PARAM_WDIR="/work" \
|
| |
+ HOME="/root"
|
| |
WORKDIR "$PARAM_WDIR"
|
| |
VOLUME [$PARAM_WDIR]
|
| |
- RUN chgrp -R 0 "$PARAM_WDIR" && chmod -R g+rwX "$PARAM_WDIR"
|
| |
- USER 1001
|
| |
+ RUN chgrp -R 0 "$PARAM_WDIR" \
|
| |
+ && chmod -R g+rwX "$PARAM_WDIR" \
|
| |
+ && mkdir -p "$HOME" \
|
| |
+ && chmod -R ugo+rwx "$HOME"
|
| |
+ USER 0
|
| |
We needed to make the following further changes to the container
so it can run the integration tests: