From fa69189794529972352670e3970d627d31d276fa Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Fri, 23 Aug 2024 11:42:10 +0200 Subject: [PATCH] build: add curl to api image Required to download the GeoLite database --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index b26b233..462d453 100755 --- a/build.sh +++ b/build.sh @@ -23,7 +23,7 @@ buildah commit "${container}" "${repobase}/nethsecurity-vpn" images+=("${repobase}/nethsecurity-vpn") container_api=$(buildah from docker.io/alpine:3.20) -buildah run ${container_api} apk add --no-cache go easy-rsa openssh sqlite +buildah run ${container_api} apk add --no-cache go easy-rsa openssh sqlite curl buildah run ${container_api} mkdir /nethsecurity-api buildah add "${container_api}" api/ /nethsecurity-api/ buildah config --workingdir /nethsecurity-api ${container_api}