summaryrefslogtreecommitdiffstats
path: root/installer/roles/image_build/files/Dockerfile.sdist
blob: 4c6d51f9b9f18625988b80da26712c8878c24c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"]