mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
Update node in sdist builder image
This commit is contained in:
@@ -7,11 +7,15 @@ RUN yum install -y bzip2 \
|
|||||||
gettext \
|
gettext \
|
||||||
git \
|
git \
|
||||||
make \
|
make \
|
||||||
|
nodejs \
|
||||||
python36-setuptools
|
python36-setuptools
|
||||||
|
|
||||||
RUN curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -
|
# Use the distro provided npm to bootstrap our required version of node
|
||||||
RUN yum install -y nodejs
|
RUN npm install -g n
|
||||||
RUN npm set progress=false
|
RUN n 10.15.0
|
||||||
|
RUN yum remove -y nodejs
|
||||||
|
|
||||||
|
ENV PATH=/usr/local/n/versions/node/10.15.0/bin:$PATH
|
||||||
|
|
||||||
WORKDIR "/awx"
|
WORKDIR "/awx"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user