Commit 92ae292d authored by mh's avatar mh
Browse files

do it on the right file

parent 3f73f809
Pipeline #4965 failed with stage
in 32 seconds
......@@ -18,8 +18,7 @@ RUN apt-get update -q \
nano \
less \
&& rm -rf /var/lib/apt/lists/* \
&& sed 's/session\s*required\s*pam_loginuid.so/session optional pam_loginuid.so/g' -i /etc/pam.d/sshd \
&& find /opt/gitlab/sv -ls
&& sed 's/session\s*required\s*pam_loginuid.so/session optional pam_loginuid.so/g' -i /etc/pam.d/sshd
# Remove MOTD
RUN rm -rf /etc/update-motd.d /etc/motd /etc/motd.dynamic
......
......@@ -13,7 +13,8 @@ RUN yum install -y \
vim \
tzdata \
&& yum clean all && rm -rf /var/cache/yum \
&& sed 's/session\s*required\s*pam_loginuid.so/session optional pam_loginuid.so/g' -i /etc/pam.d/sshd
&& sed 's/session\s*required\s*pam_loginuid.so/session optional pam_loginuid.so/g' -i /etc/pam.d/sshd \
&& find /opt/gitlab/sv -ls
# Copy assets
COPY RELEASE /
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment