Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hsh-maxima
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
hsh-maxima
Commits
53eac496
Commit
53eac496
authored
5 years ago
by
lennart
Browse files
Options
Downloads
Patches
Plain Diff
Exit if fail
parent
92868e56
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
build.sh
+2
-2
2 additions, 2 deletions
build.sh
buildimage.sh
+1
-1
1 addition, 1 deletion
buildimage.sh
with
3 additions
and
3 deletions
build.sh
+
2
−
2
View file @
53eac496
#/bin/bash
#
!
/bin/bash
REGISTRY
=
$1
for
sbcl_version
in
$(
cat
sbcl_version
)
;
do
...
...
@@ -10,7 +10,7 @@ set ${stack_version};
cd
assStackQuestion
;
#git checkout $2
cd
../
./buildimage.sh
${
sbcl_version
}
${
maxima_version
}
$1
"assStackQuestion/classes/stack/maxima"
${
REGISTRY
}
./buildimage.sh
${
sbcl_version
}
${
maxima_version
}
$1
"assStackQuestion/classes/stack/maxima"
${
REGISTRY
}
||
exit
1
unset
IFS
done
#for moodle_version in $(cat moodle_version); do
...
...
This diff is collapsed.
Click to expand it.
buildimage.sh
+
1
−
1
View file @
53eac496
...
...
@@ -14,7 +14,7 @@ IMAGENAME=$5"/sbcl"$1"_maxima"$2"_"$3
# check if the image already exists on the server
docker pull
${
IMAGENAME
}
# build it
docker build
-t
${
IMAGENAME
}
--build-arg
MAXIMA_VERSION
=
$2
--build-arg
SBCL_VERSION
=
$1
--build-arg
LIB_PATH
=
$4
.
docker build
-t
${
IMAGENAME
}
--build-arg
MAXIMA_VERSION
=
$2
--build-arg
SBCL_VERSION
=
$1
--build-arg
LIB_PATH
=
$4
.
||
exit
1
echo
${
IMAGENAME
}
" wurde erfolgreich gebaut."
# testing?
# push it
...
...
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