File tree 3 files changed +11
-3
lines changed
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- set -ex
2
+ set -e
3
3
4
4
# Store the password
5
5
if [ " $VNC_PASSWORD " ]; then
@@ -22,7 +22,11 @@ echo "Other Info:"
22
22
echo " -----------------"
23
23
echo " Lang: ${LANG} "
24
24
echo " LC All: ${LC_ALL} "
25
+ echo " Customize active: ${CUSTOMIZE} "
26
+ echo " Custom entrypoints dir: ${CUSTOM_ENTRYPOINTS_DIR} "
27
+ echo " Autostart browser: ${AUTO_START_BROWSER} "
25
28
echo " Homepage website URL: ${STARTING_WEBSITE_URL} "
29
+ echo " Autostart xterm: ${AUTO_START_XTERM} "
26
30
echo " -----------------"
27
31
28
32
# Start Supervisor
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- set -ex
2
+ set -e
3
3
4
4
echo " Ready to start"
5
5
@@ -42,7 +42,11 @@ if [ "$CUSTOMIZE" = "true" ]; then
42
42
fi
43
43
44
44
# Run all bash or Python scripts found inside custom entrypoints folder
45
+ echo " Looking for custom entry point scripts..."
45
46
if [ -d " $CUSTOM_ENTRYPOINTS_DIR " ]; then
47
+ echo " Found custom entrypoints directory: $CUSTOM_ENTRYPOINTS_DIR "
48
+ echo " $( ls -la $CUSTOM_ENTRYPOINTS_DIR ) "
49
+ # list the found scripts and run them
46
50
for script in " $CUSTOM_ENTRYPOINTS_DIR " /* .{sh,py}; do
47
51
if [ -f " $script " ]; then
48
52
echo " Running custom entry point script: $script "
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ ENV DISPLAY=:${DEF_VNC_DISPLAY}.${DEF_VNC_SCREEN} \
35
35
DEBIAN_FRONTEND=${DEF_DEBIAN_FRONTEND}
36
36
37
37
# Install necessary packages and setup noVNC
38
- RUN set -ex ; \
38
+ RUN set -e ; \
39
39
apt update && \
40
40
apt full-upgrade -qqy && \
41
41
apt install -qqy \
You can’t perform that action at this time.
0 commit comments