Skip to content

Commit

Permalink
Merge pull request #10 from laminas/fix/#8-remove-git-dir-from-being-…
Browse files Browse the repository at this point in the history
…added-to-docker-container

#8 #9 disable adding `.git` during `Dockerfile` steps
  • Loading branch information
Ocramius authored Jul 19, 2020
2 parents 6dc90e1 + ef5e910 commit 0fc020d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ ADD composer.lock /app/composer.lock

RUN COMPOSER_CACHE_DIR=/dev/null composer install --no-dev --no-autoloader

ADD .git /app/.git
# @TODO https://github.com/laminas/automatic-releases/issues/8 we skip `.git` for now, as it isn't available in the build environment
# @TODO https://github.com/laminas/automatic-releases/issues/9 we skip `.git` for now, as it isn't available in the build environment
#ADD .git /app/.git
ADD bin /app/bin
ADD src /app/src

Expand Down

0 comments on commit 0fc020d

Please sign in to comment.