awx/installer/roles/image_build/files/Dockerfile.sdist
2019-01-15 14:09:05 -05:00

22 lines
390 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
RUN ln -s /usr/bin/python36 /usr/bin/python3
WORKDIR "/awx"
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["make sdist"]