More sane way of building the official AWX image

This commit is contained in:
Shane McDonald
2020-12-22 14:05:31 -05:00
parent 225c3d6a39
commit f951aa24bf
4 changed files with 22 additions and 86 deletions

View File

@@ -13,9 +13,10 @@ RUN dnf -y update && dnf -y install epel-release && \
# Use the distro provided npm to bootstrap our required version of node
RUN npm install -g n && n 14.15.1 && dnf remove -y nodejs
RUN mkdir -p /.npm && chmod g+rwx /.npm
ENV PATH=/usr/local/n/versions/node/14.15.1/bin:$PATH
WORKDIR "/awx"
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["make sdist"]
CMD ["make", "sdist"]