Skip to content

Commit 63a46e1

Browse files
committed
Switched to Wolfram Web Engine and added licensing to the entrypoint
1 parent ee8ead6 commit 63a46e1

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

wolfram/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG SHIMMY_VERSION=latest
2-
ARG WOLFRAM_ENGINE_VERSION=14.2
2+
ARG WOLFRAM_ENGINE_VERSION=14.3
33

44
FROM ghcr.io/lambda-feedback/shimmy:${SHIMMY_VERSION} AS shimmy
55

@@ -18,7 +18,8 @@ RUN case $(uname -m) in \
1818
curl -Lfo /usr/local/bin/aws-lambda-rie https://github.com/aws/aws-lambda-runtime-interface-emulator/releases/latest/download/${RIE_BINARY_NAME} && \
1919
chmod +x /usr/local/bin/aws-lambda-rie
2020

21-
FROM wolframresearch/wolframengine:${WOLFRAM_ENGINE_VERSION}
21+
# FROM wolframresearch/wolframengine:${WOLFRAM_ENGINE_VERSION}
22+
FROM --platform=linux/amd64 jonmcloone/wwe:Lab143Aug19
2223

2324
ARG WOLFRAM_ENGINE_VERSION
2425

wolfram/entrypoint.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
#!/bin/bash
2+
# Wolfram Licensing
3+
4+
if [ ! -e /root/.Wolfram/Licensing/mathpass ]; then
5+
/usr/local/Wolfram/Wolfram/14.3/Executables/WolframKernel <<EOF
6+
$NAME
7+
$COMPANY_NAME
8+
$LICENSE_KEY
9+
Quit[]
10+
EOF
11+
fi
212

313
# Exit immediately if a command exits with a non-zero status.
414
set -e

0 commit comments

Comments
 (0)