awx/installer/roles/image_build/files/Dockerfile.sdist
Jorge Machado 76933ed889 * upgrade from git on containers
* agreed with terms of DCO 1.1

Signed-off-by: Jorge Machado <jorge@jmachado.me>
2019-07-30 07:04:04 +02:00

25 lines
519 B
Docker

FROM centos:7
RUN yum -y update && yum -y install epel-release && yum -y install https://centos7.iuscommunity.org/ius-release.rpm
RUN yum install -y bzip2 \
gcc-c++ \
gettext \
git2u \
git2u-core \
make \
nodejs \
python36-setuptools
# Use the distro provided npm to bootstrap our required version of node
RUN npm install -g n
RUN n 10.15.0
RUN yum remove -y nodejs
ENV PATH=/usr/local/n/versions/node/10.15.0/bin:$PATH
WORKDIR "/awx"
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["make sdist"]