mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 21:07:39 -02:30
More sane way of building the official AWX image
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user