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 91172d4 commit 5a23020Copy full SHA for 5a23020
OS/debian-ssh/12.6/Dockerfile
@@ -24,7 +24,7 @@ RUN chmod +x /usr/start/startup.sh && \
24
mkdir -p /home/devbox/.ssh && \
25
chown -R devbox:devbox /home/devbox/.ssh && \
26
chmod -R 770 /home/devbox/.ssh
27
-
+
28
USER devbox
29
COPY /OS/debian-ssh/project /home/devbox/project
30
RUN sudo chown -R devbox:devbox /home/devbox/project && \
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 "${RUNTIME_INITIAL}" ]; then
+if [ ! -z "${SEALOS_DEVBOX_INIT}" ] && [ "${SEALOS_DEVBOX_INIT}" == "true" ]; then
7
if [ -d "/home/devbox/.ssh" ]; then
8
cd /home/devbox/.ssh
9
rm -rf ./*
0 commit comments