mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Hack for downgrading npm when using overlay storage driver
https://github.com/npm/npm/issues/9863
This commit is contained in:
parent
021666482a
commit
4e81daafec
@ -33,6 +33,12 @@ RUN yum install -y \
|
||||
RUN curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
|
||||
|
||||
RUN yum install -y nodejs
|
||||
|
||||
# https://github.com/npm/npm/issues/9863
|
||||
RUN cd $(npm root -g)/npm \
|
||||
&& npm install fs-extra \
|
||||
&& sed -i -e s/graceful-fs/fs-extra/ -e s/fs\.rename/fs.move/ ./lib/utils/rename.js
|
||||
|
||||
RUN npm install -g npm@3.10.7
|
||||
|
||||
WORKDIR "/ansible-tower"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user