Skip to content

Commit

Permalink
remove --depth 1 in git command
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Jun 13, 2018
1 parent 84bd10a commit b554766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/cygnus-common/Dockerfile
Expand Up @@ -67,7 +67,7 @@ RUN yum -y install tar nc which git java-${JAVA_VERSION}-openjdk-devel && \
mkdir -p ${FLUME_HOME}/plugins.d/cygnus/libext && \
chown -R cygnus:cygnus ${FLUME_HOME} && \
# Make a shallow clone to help reduce final image size
git clone --depth 1 ${GIT_URL_CYGNUS} ${CYGNUS_HOME} && \
git clone ${GIT_URL_CYGNUS} ${CYGNUS_HOME} && \
cd ${CYGNUS_HOME} && \
git checkout ${GIT_REV_CYGNUS} && \
# Build and install cygnus-common
Expand Down
2 changes: 1 addition & 1 deletion docker/cygnus-ngsi/Dockerfile
Expand Up @@ -187,7 +187,7 @@ RUN \
chown -R cygnus:cygnus ${FLUME_HOME} && \
# Make a shallow clone to help reduce final image size
echo "INFO: Cloning Cygnus using <${GIT_URL_CYGNUS}> and <${GIT_REV_CYGNUS}>" && \
git clone --depth 1 ${GIT_URL_CYGNUS} ${CYGNUS_HOME} && \
git clone ${GIT_URL_CYGNUS} ${CYGNUS_HOME} && \
cd ${CYGNUS_HOME} && \
git checkout ${GIT_REV_CYGNUS} && \
echo "INFO: Build and install cygnus-common" && \
Expand Down

0 comments on commit b554766

Please sign in to comment.