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
b3fd11d4
Commit
b3fd11d4
authored
3 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#106
Call cleanup from l3drun and not already from within the project's l3d container
parent
b39422c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
run/scripts/start
+8
-0
8 additions, 0 deletions
run/scripts/start
start.sh
+0
-4
0 additions, 4 deletions
start.sh
with
8 additions
and
4 deletions
run/scripts/start
+
8
−
0
View file @
b3fd11d4
...
...
@@ -30,6 +30,12 @@ function getConfig() {
fi
}
function
exitContainer
()
{
if
[[
"
$L3D_ALWAYS_CLEANUP
"
==
"1"
]]
;
then
/usr/local/bin/.delete
$COMPOSE_PROJECT_NAME
fi
}
function
startContainer
()
{
if
[[
-n
${
COMPOSE_PROJECT_NAME
}
]]
;
then
mode
=
REBUILD
...
...
@@ -93,6 +99,7 @@ function startContainer() {
"
${
start_params
[@]
}
"
\
registry.lakedrops.com/docker/l3d/php-
${
PHP_VERSION
}
:
${
L3DVERSION
}
\
/usr/local/bin/.start
exitContainer
return
fi
fi
...
...
@@ -102,6 +109,7 @@ function startContainer() {
--env
SSHAUTH
=
${
SSHAUTH
}
\
${
COMPOSE_PROJECT_NAME
}
_l3d
\
/usr/local/bin/.start
exitContainer
fi
}
...
...
This diff is collapsed.
Click to expand it.
start.sh
+
0
−
4
View file @
b3fd11d4
...
...
@@ -259,7 +259,3 @@ if [[ -x "${L3DSHELL}" ]]; then
else
/usr/bin/fish
fi
if
[[
"
$L3D_ALWAYS_CLEANUP
"
==
"1"
]]
;
then
/usr/local/bin/.delete
$COMPOSE_PROJECT_NAME
fi
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