mirror of
https://github.com/11notes/docker-bind.git
synced 2025-10-31 20:03:30 +00:00
add APK_VERSION
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# Contributor: ungleich <alpinelinux@ungleich.ch>
|
||||
# Maintainer: Mike Crute <mike@crute.us>
|
||||
pkgname=bind
|
||||
pkgver=9.18.19
|
||||
pkgver=$APK_VERSION
|
||||
_ver=${pkgver%_p*}
|
||||
_p=${pkgver#*_p}
|
||||
_major=${pkgver%%.*}
|
||||
|
||||
Reference in New Issue
Block a user