diff --git a/amd64.dockerfile b/amd64.dockerfile index 460df13..27bfb88 100644 --- a/amd64.dockerfile +++ b/amd64.dockerfile @@ -1,6 +1,7 @@ # :: Build FROM 11notes/apk-build:stable as build ENV APK_NAME="bind" + ENV APK_VERSION="9.18.19" RUN set -ex; \ cd ~; \ @@ -10,6 +11,7 @@ RUN set -ex; \ cd ~/${APK_NAME}; \ + sed -i "s/\$APK_VERSION/${APK_VERSION}/g" ./APKBUILD; \ abuild checksum; \ abuild -r; \ ls -lah /apk/packages; diff --git a/build/APKBUILD b/build/APKBUILD index c88a41f..f61b94a 100644 --- a/build/APKBUILD +++ b/build/APKBUILD @@ -5,7 +5,7 @@ # Contributor: ungleich # Maintainer: Mike Crute pkgname=bind -pkgver=9.18.19 +pkgver=$APK_VERSION _ver=${pkgver%_p*} _p=${pkgver#*_p} _major=${pkgver%%.*}