Skip to content

Commit d86962d

Browse files
Rotonennijel
authored andcommitted
fix: don't create an empty ~/.ssh/authorized_keys file
Container platform runtime security solutions alert on mutating this file.
1 parent 2592c32 commit d86962d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ RUN \
3131
userdel --remove ubuntu \
3232
&& useradd --uid 1000 --shell /bin/sh --user-group weblate --groups root,tty \
3333
&& mkdir -p /home/weblate/.ssh \
34-
&& touch /home/weblate/.ssh/authorized_keys \
3534
&& chown -R weblate:weblate /home/weblate \
3635
&& chmod 700 /home/weblate/.ssh \
3736
&& install -d -o weblate -g weblate -m 755 /app/data \

0 commit comments

Comments
 (0)