mirror of
https://github.com/11notes/docker-bind.git
synced 2025-11-14 02:15:42 +00:00
add APK_VERSION
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# :: Build
|
# :: Build
|
||||||
FROM 11notes/apk-build:stable as build
|
FROM 11notes/apk-build:stable as build
|
||||||
ENV APK_NAME="bind"
|
ENV APK_NAME="bind"
|
||||||
|
ENV APK_VERSION="9.18.19"
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
cd ~; \
|
cd ~; \
|
||||||
@@ -10,6 +11,7 @@
|
|||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
cd ~/${APK_NAME}; \
|
cd ~/${APK_NAME}; \
|
||||||
|
sed -i "s/\$APK_VERSION/${APK_VERSION}/g" ./APKBUILD; \
|
||||||
abuild checksum; \
|
abuild checksum; \
|
||||||
abuild -r; \
|
abuild -r; \
|
||||||
ls -lah /apk/packages;
|
ls -lah /apk/packages;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
# Contributor: ungleich <alpinelinux@ungleich.ch>
|
# Contributor: ungleich <alpinelinux@ungleich.ch>
|
||||||
# Maintainer: Mike Crute <mike@crute.us>
|
# Maintainer: Mike Crute <mike@crute.us>
|
||||||
pkgname=bind
|
pkgname=bind
|
||||||
pkgver=9.18.19
|
pkgver=$APK_VERSION
|
||||||
_ver=${pkgver%_p*}
|
_ver=${pkgver%_p*}
|
||||||
_p=${pkgver#*_p}
|
_p=${pkgver#*_p}
|
||||||
_major=${pkgver%%.*}
|
_major=${pkgver%%.*}
|
||||||
|
|||||||
Reference in New Issue
Block a user