Compare commits
No commits in common. "c8b296a35f5c28f841718f3926afe4a932609336" and "7c48d98741058d586d3282a4a8db2e52d9feb9de" have entirely different histories.
c8b296a35f
...
7c48d98741
|
@ -12,6 +12,8 @@ buildfolder=/tmp/gitea-$$
|
||||||
if ! podman image exists ${gitea_image}:${gitea_version}; then
|
if ! podman image exists ${gitea_image}:${gitea_version}; then
|
||||||
mkdir ${buildfolder} &&
|
mkdir ${buildfolder} &&
|
||||||
curl -sSfL -- "https://codeberg.org/forgejo/forgejo/archive/v${gitea_version}.tar.gz" | tar xz --strip-components=1 -C ${buildfolder}/ && {
|
curl -sSfL -- "https://codeberg.org/forgejo/forgejo/archive/v${gitea_version}.tar.gz" | tar xz --strip-components=1 -C ${buildfolder}/ && {
|
||||||
|
sed_in_place "^FROM golang" "FROM docker.io/library/golang" ${buildfolder}/Dockerfile
|
||||||
|
sed_in_place "^FROM alpine" "FROM docker.io/library/alpine" ${buildfolder}/Dockerfile
|
||||||
TMPDIR=${HOME} podman image build -t ${gitea_image}:${gitea_version} -f ${buildfolder}/Dockerfile ${buildfolder}
|
TMPDIR=${HOME} podman image build -t ${gitea_image}:${gitea_version} -f ${buildfolder}/Dockerfile ${buildfolder}
|
||||||
}
|
}
|
||||||
rm -rf ${buildfolder}
|
rm -rf ${buildfolder}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
## vars
|
## vars
|
||||||
gitea_image="git.garbaye.fr/garbaye/forgejo"
|
gitea_image="git.garbaye.fr/garbaye/forgejo"
|
||||||
gitea_version='1.19.1-0'
|
gitea_version='1.18.5-0'
|
||||||
postgres_image="docker.io/library/postgres"
|
postgres_image="docker.io/library/postgres"
|
||||||
postgres_version='14'
|
postgres_version='14'
|
||||||
## default vars : override with ENV var
|
## default vars : override with ENV var
|
||||||
|
|
Loading…
Reference in a new issue