Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LakeDropsDrupalDev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
LakeDropsDrupalDev
Commits
107ea275
Commit
107ea275
authored
1 year ago
by
jurgenhaas
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'main'
Merging develop into main See merge request
!42
parents
9ae32124
11acebac
No related branches found
Branches containing commit
Tags
v2.10.3
Tags containing commit
1 merge request
!42
Merging develop into main
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
run/scripts/run
+13
-0
13 additions, 0 deletions
run/scripts/run
run/scripts/start
+1
-11
1 addition, 11 deletions
run/scripts/start
with
14 additions
and
11 deletions
run/scripts/run
+
13
−
0
View file @
107ea275
...
...
@@ -9,6 +9,19 @@ if [[ "$L3D_CONFIG" != "[]" ]]; then
export
PHP_VERSION
=
$V
fi
fi
if
[[
"
$L3D_COMPOSE
"
!=
"[]"
]]
;
then
V
=
$(
yq .name
$L3D_COMPOSE
)
if
[[
"
$V
"
!=
"null"
]]
;
then
export
COMPOSE_PROJECT_NAME
=
$V
fi
if
[[
!
-n
${
PHP_VERSION
}
]]
;
then
V
=
$(
yq .services.php.image
$L3D_COMPOSE
|
cut
-d
':'
-f
2
)
if
[[
"
$V
"
!=
"null"
]]
;
then
export
PHP_VERSION
=
$V
fi
fi
rm
"
$L3D_COMPOSE
"
fi
COMMAND
=
start
if
[[
-n
"
$1
"
]]
;
then
...
...
This diff is collapsed.
Click to expand it.
run/scripts/start
+
1
−
11
View file @
107ea275
#!/bin/bash
function
getConfig
()
{
if
[[
"
$L3D_COMPOSE
"
!=
"[]"
]]
;
then
V
=
$(
yq .name
$L3D_COMPOSE
)
if
[[
"
$V
"
!=
"null"
]]
;
then
COMPOSE_PROJECT_NAME
=
$V
fi
V
=
$(
yq .services.php.image
$L3D_COMPOSE
|
cut
-d
':'
-f
2
)
if
[[
"
$V
"
!=
"null"
]]
;
then
PHP_VERSION
=
$V
fi
rm
"
$L3D_COMPOSE
"
fi
if
[[
!
-n
${
PHP_VERSION
}
]]
;
then
while
true
;
do
DEFAULT
=
8.2
...
...
@@ -71,6 +60,7 @@ function startContainer() {
--env
L3DSHELL
=
${
L3DSHELL
}
--env
L3D_ALWAYS_CLEANUP
=
${
L3D_ALWAYS_CLEANUP
}
--env
HOME
=
/home/
${
USERNAME
}
--env
USERNAME
=
${
USERNAME
}
--env
COMPOSE_PROJECT_NAME
=
${
COMPOSE_PROJECT_NAME
}
--env
COMPOSER_DOWNGRADE
=
${
COMPOSER_DOWNGRADE
}
--env
PHP_VERSION
=
${
PHP_VERSION
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment