awx/installer/roles/image_build/files/Dockerfile.sdist
Uriel Mandujano 4821a94944 Removes failing symlink to /usr/bin/python3 during the image build
Installing the latest python36-setuptools automatically creates the symlink from python3 -> python3.6 and from python36 -> /usr/bin/python3.6. Building the images fails when the symlink is created explicitly in the AWX installer.

Signed-off-by: Uriel Mandujano <uriel.mandujano14@gmail.com>
2019-04-06 11:13:41 -05:00

20 lines
344 B
Docker

FROM centos:7
RUN yum install -y epel-release
RUN yum install -y bzip2 \
gcc-c++ \
gettext \
git \
make \
python36-setuptools
RUN curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -
RUN yum install -y nodejs
RUN npm set progress=false
WORKDIR "/awx"
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["make sdist"]