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
29d9d7d7
Commit
29d9d7d7
authored
5 years ago
by
lennart
Browse files
Options
Downloads
Patches
Plain Diff
Create accounts, less maxima/sbcl versions
parent
4c5f5ec1
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Dockerfile
+13
-4
13 additions, 4 deletions
Dockerfile
bin/web
+0
-0
0 additions, 0 deletions
bin/web
maxima_version
+0
-8
0 additions, 8 deletions
maxima_version
sbcl_version
+0
-1
0 additions, 1 deletion
sbcl_version
with
13 additions
and
13 deletions
Dockerfile
+
13
−
4
View file @
29d9d7d7
...
@@ -56,7 +56,7 @@ RUN cd ${SRC} \
...
@@ -56,7 +56,7 @@ RUN cd ${SRC} \
&&
make clean
&&
make clean
RUN
rm
-r
${
SRC
}
/SBCL_ARCH
RUN
rm
-r
${
SRC
}
/SBCL_ARCH
RUN
apt
install
-y
gnuplot gettext-base
RUN
apt
-get
install
-y
gnuplot gettext-base
sudo
psmisc
RUN
mkdir
-p
${
LIB
}
${
LOG
}
${
TMP
}
${
PLOT
}
${
ASSETS
}
${
BIN
}
RUN
mkdir
-p
${
LIB
}
${
LOG
}
${
TMP
}
${
PLOT
}
${
ASSETS
}
${
BIN
}
...
@@ -72,12 +72,21 @@ RUN grep stackmaximaversion ${LIB}/stackmaxima.mac | grep -oP "\d+" >> /opt/maxi
...
@@ -72,12 +72,21 @@ RUN grep stackmaximaversion ${LIB}/stackmaxima.mac | grep -oP "\d+" >> /opt/maxi
&&
cat
${
ASSETS
}
/maximalocal.mac
&&
cat
${
ASSETS
}
/optimize.mac
\
&&
cat
${
ASSETS
}
/maximalocal.mac
&&
cat
${
ASSETS
}
/optimize.mac
\
&&
cd
${
ASSETS
}
\
&&
cd
${
ASSETS
}
\
&&
maxima
-b
optimize.mac
\
&&
maxima
-b
optimize.mac
\
&&
mv
maxima-optimised
${
BIN
}
/maxima-optimised
\
&&
mv
maxima-optimised
${
BIN
}
/maxima-optimised
&&
rm
-r
${
LIB
}
RUN
apt-get purge
-y
wget python3 make bzip2 texinfo
RUN
apt-get purge
-y
wget python3 make bzip2 texinfo
RUN
useradd
-M
maxima-server
&&
echo
"Defaults lecture = always"
>
/etc/sudoers.d/maxima
RUN for
i
in
$(
seq
16
)
;
do
\
useradd
-M
"maxima-
$i
"
\
&&
echo
"maxima-server ALL = (maxima-
$i
) NOPASSWD:
${
BIN
}
/wrapper"
>>
/etc/sudoers.d/maxima
\
&&
echo
"maxima-server ALL = (root) NOPASSWD: /usr/bin/killall -9 -u maxima-
$i
"
>>
/etc/sudoers.d/maxima
;
\
done
# Add go webserver
# Add go webserver
COPY
./bin/web ${BIN}/goweb
COPY
./bin/web ${BIN}/goweb
CMD
["/opt/maxima/bin/goweb"]
# Add wrapper
COPY
./bin/wrapper ${BIN}/wrapper
CMD
["su", "-c", "/opt/maxima/bin/goweb", "maxima-server"]
This diff is collapsed.
Click to expand it.
bin/web
+
0
−
0
View file @
29d9d7d7
No preview for this file type
This diff is collapsed.
Click to expand it.
maxima_version
+
0
−
8
View file @
29d9d7d7
5.43.2
5.43.2
5.43.1
5.43.0
5.42.2
5.42.1
5.42.0
5.41.0
5.40.0
5.39.0
This diff is collapsed.
Click to expand it.
sbcl_version
+
0
−
1
View file @
29d9d7d7
2.0.2
2.0.2
1.4.11
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