Forgejo 1.19 : build from source (AppVer bugged)
This commit is contained in:
parent
427b5bd8a2
commit
7da5d789d6
|
@ -11,7 +11,7 @@ buildfolder=/tmp/gitea-$$
|
|||
|
||||
if ! podman image exists ${gitea_image}:${gitea_version}; then
|
||||
mkdir ${buildfolder} &&
|
||||
curl -sSfL -- "https://codeberg.org/forgejo/forgejo/archive/v${gitea_version}.tar.gz" | tar xz --strip-components=1 -C ${buildfolder}/ && {
|
||||
git clone -b v${gitea_version} --depth=1 https://codeberg.org/forgejo/forgejo/ ${buildfolder} && {
|
||||
TMPDIR=${HOME} podman image build \
|
||||
--label org.opencontainers.image.version="${gitea_version}" \
|
||||
-t ${gitea_image}:${gitea_version} -f ${buildfolder}/Dockerfile ${buildfolder}
|
||||
|
|
Loading…
Reference in a new issue