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 16ec9b6 commit 8ef1c12Copy full SHA for 8ef1c12
containers/Containerfile
@@ -10,7 +10,8 @@ RUN dnf install -y git git-lfs openssh-server \
10
&& chmod +x /usr/local/bin/forgejo \
11
&& curl -fsSL https://codeberg.org/forgejo/forgejo/raw/branch/forgejo/contrib/systemd/forgejo.service -o /etc/systemd/system/forgejo.service \
12
&& systemctl enable forgejo.service \
13
- && systemctl enable sshd.service
+ && systemctl enable sshd.service \
14
+ && chmod 640 /etc/shadow
15
16
RUN groupadd --system git \
17
&& useradd --system --shell /bin/bash --comment 'Git Version Control' --gid git --home-dir /home/git --create-home git \
0 commit comments