diff --git a/hooks/06-create-dummy-changelog-prebuild b/hooks/06-create-dummy-changelog-prebuild index b1e54d4..288e586 100755 --- a/hooks/06-create-dummy-changelog-prebuild +++ b/hooks/06-create-dummy-changelog-prebuild @@ -8,7 +8,7 @@ fi changelog="debian/changelog" project_name=$(get_opt project_name) -project_version=$(get_opt project_version '0.0.0') +project_version=$(get_opt project_version 0.0.0) date=$(date -R) top_contributor=$(git log --pretty=short | git shortlog -s -n -e | sed 's/^\s*[0-9]*\s*//g' | head -n 1) current_commit=$(git log -n 1 --pretty=format:%h) diff --git a/hooks/10-install-build-depends-prebuild b/hooks/10-install-build-depends-prebuild index c078813..e63e432 100755 --- a/hooks/10-install-build-depends-prebuild +++ b/hooks/10-install-build-depends-prebuild @@ -2,5 +2,6 @@ if [ -f debian/control ]; then echo "Installing build dependencies..." + apt-get update mk-build-deps -r -t "apt-get --force-yes -y --no-install-recommends" --install debian/control fi diff --git a/hooks/install-git-containerbuild b/hooks/install-git-containerbuild index 585549f..b1f91ce 100755 --- a/hooks/install-git-containerbuild +++ b/hooks/install-git-containerbuild @@ -1,3 +1,3 @@ #!/usr/bin/env bash -echo "RUN apt-get install --yes --no-install-recommends git-core" >> Dockerfile +echo "RUN apt-get update && apt-get install --yes --no-install-recommends git-core" >> Dockerfile