You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by kb...@apache.org on 2019/12/21 03:38:41 UTC

[atlas] branch branch-2.0 updated: ATLAS-3567 - Bypass package-lock.json error during build (#79)

This is an automated email from the ASF dual-hosted git repository.

kbhatt pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 2a87855  ATLAS-3567 - Bypass package-lock.json error during build (#79)
2a87855 is described below

commit 2a878556ec9fc54429eb0567323175f0574a833a
Author: Hayssam Saleh <ha...@ebiznext.com>
AuthorDate: Fri Dec 20 15:06:11 2019 +0100

    ATLAS-3567 - Bypass package-lock.json error during build (#79)
    
    Disabling package-lock.json Locally to avoid "npm notice created a lockfile as package-lock.json. You should commit this file."
---
 dev-support/atlas-docker/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-support/atlas-docker/Dockerfile b/dev-support/atlas-docker/Dockerfile
index bf9eea1..7bd7965 100644
--- a/dev-support/atlas-docker/Dockerfile
+++ b/dev-support/atlas-docker/Dockerfile
@@ -37,6 +37,10 @@ WORKDIR /root
 # Pull down Atlas and build it into /root/atlas-bin.
 RUN git clone https://github.com/apache/atlas.git -b master
 
+RUN echo 'package-lock=false' >> ./atlas/.npmrc
+
+RUN echo 'package-lock.json' >> ./atlas/.gitignore
+
 # Memory requirements
 ENV MAVEN_OPTS "-Xms2g -Xmx2g"
 # RUN export MAVEN_OPTS="-Xms2g -Xmx2g"