mirror of
https://github.com/friendica/docker
synced 2024-11-16 03:19:26 +01:00
Using full repository url
This commit is contained in:
parent
2f65ae8d70
commit
20d59aae26
|
@ -19,8 +19,8 @@ version_greater() {
|
||||||
clone_develop() {
|
clone_develop() {
|
||||||
friendica_git="${FRIENDICA_VERSION}"
|
friendica_git="${FRIENDICA_VERSION}"
|
||||||
addons_git="${FRIENDICA_ADDONS}"
|
addons_git="${FRIENDICA_ADDONS}"
|
||||||
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}"
|
friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
|
||||||
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}"
|
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
|
||||||
|
|
||||||
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
||||||
friendica_git="develop"
|
friendica_git="develop"
|
||||||
|
@ -34,10 +34,10 @@ clone_develop() {
|
||||||
|
|
||||||
# Removing the whole directory first
|
# Removing the whole directory first
|
||||||
rm -fr /usr/src/friendica
|
rm -fr /usr/src/friendica
|
||||||
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica"
|
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
|
||||||
|
|
||||||
mkdir /usr/src/friendica/addon
|
mkdir /usr/src/friendica/addon
|
||||||
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon"
|
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
|
||||||
|
|
||||||
echo "Download finished"
|
echo "Download finished"
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ version_greater() {
|
||||||
clone_develop() {
|
clone_develop() {
|
||||||
friendica_git="${FRIENDICA_VERSION}"
|
friendica_git="${FRIENDICA_VERSION}"
|
||||||
addons_git="${FRIENDICA_ADDONS}"
|
addons_git="${FRIENDICA_ADDONS}"
|
||||||
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}"
|
friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
|
||||||
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}"
|
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
|
||||||
|
|
||||||
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
||||||
friendica_git="develop"
|
friendica_git="develop"
|
||||||
|
@ -34,10 +34,10 @@ clone_develop() {
|
||||||
|
|
||||||
# Removing the whole directory first
|
# Removing the whole directory first
|
||||||
rm -fr /usr/src/friendica
|
rm -fr /usr/src/friendica
|
||||||
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica"
|
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
|
||||||
|
|
||||||
mkdir /usr/src/friendica/addon
|
mkdir /usr/src/friendica/addon
|
||||||
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon"
|
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
|
||||||
|
|
||||||
echo "Download finished"
|
echo "Download finished"
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ version_greater() {
|
||||||
clone_develop() {
|
clone_develop() {
|
||||||
friendica_git="${FRIENDICA_VERSION}"
|
friendica_git="${FRIENDICA_VERSION}"
|
||||||
addons_git="${FRIENDICA_ADDONS}"
|
addons_git="${FRIENDICA_ADDONS}"
|
||||||
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}"
|
friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
|
||||||
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}"
|
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
|
||||||
|
|
||||||
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
||||||
friendica_git="develop"
|
friendica_git="develop"
|
||||||
|
@ -34,10 +34,10 @@ clone_develop() {
|
||||||
|
|
||||||
# Removing the whole directory first
|
# Removing the whole directory first
|
||||||
rm -fr /usr/src/friendica
|
rm -fr /usr/src/friendica
|
||||||
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica"
|
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
|
||||||
|
|
||||||
mkdir /usr/src/friendica/addon
|
mkdir /usr/src/friendica/addon
|
||||||
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon"
|
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
|
||||||
|
|
||||||
echo "Download finished"
|
echo "Download finished"
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ version_greater() {
|
||||||
clone_develop() {
|
clone_develop() {
|
||||||
friendica_git="${FRIENDICA_VERSION}"
|
friendica_git="${FRIENDICA_VERSION}"
|
||||||
addons_git="${FRIENDICA_ADDONS}"
|
addons_git="${FRIENDICA_ADDONS}"
|
||||||
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}"
|
friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
|
||||||
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}"
|
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
|
||||||
|
|
||||||
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
||||||
friendica_git="develop"
|
friendica_git="develop"
|
||||||
|
@ -34,10 +34,10 @@ clone_develop() {
|
||||||
|
|
||||||
# Removing the whole directory first
|
# Removing the whole directory first
|
||||||
rm -fr /usr/src/friendica
|
rm -fr /usr/src/friendica
|
||||||
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica"
|
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
|
||||||
|
|
||||||
mkdir /usr/src/friendica/addon
|
mkdir /usr/src/friendica/addon
|
||||||
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon"
|
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
|
||||||
|
|
||||||
echo "Download finished"
|
echo "Download finished"
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ version_greater() {
|
||||||
clone_develop() {
|
clone_develop() {
|
||||||
friendica_git="${FRIENDICA_VERSION}"
|
friendica_git="${FRIENDICA_VERSION}"
|
||||||
addons_git="${FRIENDICA_ADDONS}"
|
addons_git="${FRIENDICA_ADDONS}"
|
||||||
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}"
|
friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
|
||||||
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}"
|
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
|
||||||
|
|
||||||
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
||||||
friendica_git="develop"
|
friendica_git="develop"
|
||||||
|
@ -34,10 +34,10 @@ clone_develop() {
|
||||||
|
|
||||||
# Removing the whole directory first
|
# Removing the whole directory first
|
||||||
rm -fr /usr/src/friendica
|
rm -fr /usr/src/friendica
|
||||||
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica"
|
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
|
||||||
|
|
||||||
mkdir /usr/src/friendica/addon
|
mkdir /usr/src/friendica/addon
|
||||||
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon"
|
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
|
||||||
|
|
||||||
echo "Download finished"
|
echo "Download finished"
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ version_greater() {
|
||||||
clone_develop() {
|
clone_develop() {
|
||||||
friendica_git="${FRIENDICA_VERSION}"
|
friendica_git="${FRIENDICA_VERSION}"
|
||||||
addons_git="${FRIENDICA_ADDONS}"
|
addons_git="${FRIENDICA_ADDONS}"
|
||||||
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}"
|
friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
|
||||||
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}"
|
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
|
||||||
|
|
||||||
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
||||||
friendica_git="develop"
|
friendica_git="develop"
|
||||||
|
@ -34,10 +34,10 @@ clone_develop() {
|
||||||
|
|
||||||
# Removing the whole directory first
|
# Removing the whole directory first
|
||||||
rm -fr /usr/src/friendica
|
rm -fr /usr/src/friendica
|
||||||
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica"
|
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
|
||||||
|
|
||||||
mkdir /usr/src/friendica/addon
|
mkdir /usr/src/friendica/addon
|
||||||
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon"
|
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
|
||||||
|
|
||||||
echo "Download finished"
|
echo "Download finished"
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ version_greater() {
|
||||||
clone_develop() {
|
clone_develop() {
|
||||||
friendica_git="${FRIENDICA_VERSION}"
|
friendica_git="${FRIENDICA_VERSION}"
|
||||||
addons_git="${FRIENDICA_ADDONS}"
|
addons_git="${FRIENDICA_ADDONS}"
|
||||||
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}"
|
friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
|
||||||
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}"
|
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
|
||||||
|
|
||||||
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
|
||||||
friendica_git="develop"
|
friendica_git="develop"
|
||||||
|
@ -34,10 +34,10 @@ clone_develop() {
|
||||||
|
|
||||||
# Removing the whole directory first
|
# Removing the whole directory first
|
||||||
rm -fr /usr/src/friendica
|
rm -fr /usr/src/friendica
|
||||||
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica"
|
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
|
||||||
|
|
||||||
mkdir /usr/src/friendica/addon
|
mkdir /usr/src/friendica/addon
|
||||||
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon"
|
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
|
||||||
|
|
||||||
echo "Download finished"
|
echo "Download finished"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue