Skip to content

Commit

Permalink
#8 #9 disable adding .git during Dockerfile steps
Browse files Browse the repository at this point in the history
This fixes #8, but skips version rendering in our CLI: that's
an acceptable tradeoff, for now: we'll need to fix this later,
when we work on #9 (or eventually consider dropping this code
entirely).
  • Loading branch information
Ocramius committed Jul 19, 2020
1 parent ea00621 commit ef5e910
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 ef5e910

Please sign in to comment.