We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d44b784 commit f8c9546Copy full SHA for f8c9546
OS/debian-ssh/12.6/Dockerfile
@@ -29,7 +29,7 @@ USER devbox
29
COPY /OS/debian-ssh/project /home/devbox/project
30
RUN sudo chown -R devbox:devbox /home/devbox/project && \
31
sudo chmod -R 777 /home/devbox/project
32
-
+
33
USER root
34
35
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
script/startup.sh
@@ -3,7 +3,7 @@
3
# Define the password file location
4
PASSWORD_FILE="/usr/start/user_password.txt"
5
6
-if [ ! -z "${SEALOS_DEVBOX_INIT}" ] && [ "${SEALOS_DEVBOX_INIT}" == "true" ]; then
+if [ ! -z "${SEALOS_DEVBOX_NEED_INIT}" ] && [ "${SEALOS_DEVBOX_NEED_INIT}" == "true" ]; then
7
if [ -d "/home/devbox/.ssh" ]; then
8
cd /home/devbox/.ssh
9
rm -rf ./*
0 commit comments