mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 06:56:00 -03:30
Hack for downgrading npm when using overlay storage driver
https://github.com/npm/npm/issues/9863
This commit is contained in:
@@ -33,6 +33,12 @@ RUN yum install -y \
|
|||||||
RUN curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
|
RUN curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
|
||||||
|
|
||||||
RUN yum install -y nodejs
|
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
|
RUN npm install -g npm@3.10.7
|
||||||
|
|
||||||
WORKDIR "/ansible-tower"
|
WORKDIR "/ansible-tower"
|
||||||
|
|||||||
Reference in New Issue
Block a user