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
15c43488
Commit
15c43488
authored
5 years ago
by
Lennart Kramer
Browse files
Options
Downloads
Patches
Plain Diff
Add exception for 2017121800
parent
5219bb80
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+3
-0
3 additions, 0 deletions
Dockerfile
buildimage.sh
+5
-1
5 additions, 1 deletion
buildimage.sh
with
8 additions
and
1 deletion
Dockerfile
+
3
−
0
View file @
15c43488
...
@@ -93,5 +93,8 @@ RUN for i in $(seq 16); do \
...
@@ -93,5 +93,8 @@ RUN for i in $(seq 16); do \
# Add go webserver
# Add go webserver
COPY
./bin/web ${BIN}/goweb
COPY
./bin/web ${BIN}/goweb
ARG
LIB_PATH=''
ENV
GOEMAXIMA_LIB_PATH=$LIB_PATH
CMD
rm /dev/tty && cd /tmp && rm --one-file-system -rf * && exec tini ${BIN}/goweb ${BIN}/maxima-optimised
CMD
rm /dev/tty && cd /tmp && rm --one-file-system -rf * && exec tini ${BIN}/goweb ${BIN}/maxima-optimised
This diff is collapsed.
Click to expand it.
buildimage.sh
+
5
−
1
View file @
15c43488
...
@@ -14,7 +14,11 @@ IMAGENAME="$5/goemaxima:$3"
...
@@ -14,7 +14,11 @@ IMAGENAME="$5/goemaxima:$3"
# check if the image already exists on the server
# check if the image already exists on the server
docker pull
"
${
IMAGENAME
}
"
docker pull
"
${
IMAGENAME
}
"
# build it
# build it
if
[
"
$stack
"
=
"2017121800"
]
;
then
docker build
-t
"
${
IMAGENAME
}
"
--build-arg
MAXIMA_VERSION
=
"
$2
"
--build-arg
SBCL_VERSION
=
"
$1
"
--build-arg
LIB_PATH
=
"
$4
"
--build-arg
"/opt/maxima/assets/maximalocal.mac"
.
||
exit
1
else
docker build
-t
"
${
IMAGENAME
}
"
--build-arg
MAXIMA_VERSION
=
"
$2
"
--build-arg
SBCL_VERSION
=
"
$1
"
--build-arg
LIB_PATH
=
"
$4
"
.
||
exit
1
docker build
-t
"
${
IMAGENAME
}
"
--build-arg
MAXIMA_VERSION
=
"
$2
"
--build-arg
SBCL_VERSION
=
"
$1
"
--build-arg
LIB_PATH
=
"
$4
"
.
||
exit
1
fi
echo
"
${
IMAGENAME
}
wurde erfolgreich gebaut."
echo
"
${
IMAGENAME
}
wurde erfolgreich gebaut."
# testing?
# testing?
# push it
# 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