Skip to content

Install git before build

hi! i want to use gitlab-ci-multi-runner with official docker images but they does not contains git command. If i try to install git like that

before_script:
  - apt-get install git-core

it also failes with

Cloning repository...
/builds/web/myproject.sh: line 13: git: command not found

is there are any solution for true before script?