Skip to content

Commit f5e95e2

Browse files
authored
Update ampstart.sh
Export variables used by AMP internally
1 parent 1c8c1fb commit f5e95e2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ampstart.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
echo "[Info] AMPStart for Docker - v22.12.1"
3+
echo "[Info] AMPStart for Docker - v22.12.2"
44

55
if [ -z "${AMPUSERID}" ]; then
66
echo "[Info] This docker image cannot be used directly by itself - it must be started by ampinstmgr"
@@ -23,6 +23,10 @@ else
2323
echo "[Info] Container setup complete."
2424
fi
2525

26+
export AMPHOSTPLATFORM
27+
export AMP_CONTAINER
28+
export AMPMEMORYLIMIT
29+
2630
ARGS=$@
2731
exec su -l -c "ampinstmgr --sync-certs; cd /AMP; HOME=/home/amp /AMP/AMP_Linux_x86_64 ${ARGS}; exit $?" -- amp
2832
exit $?

0 commit comments

Comments
 (0)