Skip to content
This repository was archived by the owner on Oct 25, 2019. It is now read-only.

Commit bed5803

Browse files
author
Gauvain Pocentek
committed
set a default root password
1 parent 5420f46 commit bed5803

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ RUN mkdir -p /opt/gitlab/sv/sshd/supervise \
1919
&& ln -s /opt/gitlab/sv/sshd /opt/gitlab/service \
2020
&& mkdir -p /var/run/sshd
2121

22+
# Default root password
23+
RUN echo "gitlab_rails['initial_root_password'] = '5iveL!fe'" >> /etc/gitlab/gitlab.rb
24+
2225
# Expose web & ssh
2326
EXPOSE 80 22
2427

0 commit comments

Comments
 (0)