Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
inkluster-dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
caf2f4e2
authored
2025-01-22 11:16:15 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Make the image name into a variable.
1 parent
c927ea6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
wrapper.sh
wrapper.sh
View file @
caf2f4e
...
...
@@ -2,6 +2,8 @@
set
-e
INKLUSTER_IMAGE
=
brainfood/inkluster-dev
declare
-a
docker_args
=(
--rm -i
)
[[
-t 0
]]
&&
docker_args+
=(
-t
)
...
...
@@ -24,5 +26,5 @@ fi
docker_args+
=(
-e
MAP_UID
=
"
$(
id -u
)
"
-e
MAP_GROUPS
=
"
$(
id -G
)
"
)
docker run
"
${
docker_args
[@]
}
"
brainfood/inkluster-dev
docker run
"
${
docker_args
[@]
}
"
"
$INKLUSTER_IMAGE
"
...
...
Please
register
or
sign in
to post a comment