mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
a1bd84af5e
A lot of people have experienced issues with the system-level dependencies that are required in order to build the source distribution that is handed off to the image builds. This makes it unnecessary to install any additional software on the host machine aside from Ansible and Docker.
21 lines
348 B
Docker
21 lines
348 B
Docker
FROM centos:7
|
|
|
|
RUN yum install -y epel-release
|
|
|
|
RUN yum install -y bzip2 \
|
|
gcc-c++ \
|
|
gettext \
|
|
git \
|
|
make \
|
|
python \
|
|
python-pip
|
|
|
|
RUN curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
|
|
RUN yum install -y nodejs
|
|
RUN npm set progress=false
|
|
|
|
WORKDIR "/awx"
|
|
|
|
ENTRYPOINT ["/bin/bash", "-c"]
|
|
CMD ["make sdist"]
|