Skip to content
Snippets Groups Projects
Commit 238bcd22 authored by DJ Mountney's avatar DJ Mountney
Browse files

Fix nodocs syntax

parent 0f648608
Branches
Tags
No related merge requests found
......@@ -24,7 +24,7 @@ COPY gitconfig /usr/local/etc/gitconfig
RUN dnf clean all \
&& rm -r /var/cache/dnf \
&& dnf ${DNF_OPTS} install -by --disablerepo="*" --enablerepo="*ubi-8*" --no-docs procps net-tools libicu openssh-clients \
&& dnf ${DNF_OPTS} install -by --disablerepo="*" --enablerepo="*ubi-8*" --nodocs procps net-tools libicu openssh-clients \
&& rm -f /usr/local/tmp/openssh-server-*.rpm /usr/libexec/openssh/ssh-keysign \
&& adduser -m ${GITLAB_USER} \
&& mkdir -p /etc/gitaly /var/log/gitaly /home/${GITLAB_USER}/repositories \
......
......@@ -4,7 +4,7 @@ FROM ${RUBY_IMAGE}
ARG GITLAB_EXPORTER_VERSION
ARG GITLAB_USER=git
ARG DNF_OPTS=
ARG DNF_OPTS
LABEL source="https://gitlab.com/gitlab-org/gitlab-exporter" \
name="GitLab Exporter" \
......@@ -25,7 +25,7 @@ COPY scripts/ /scripts/
RUN dnf clean all \
&& rm -r /var/cache/dnf \
&& dnf ${DNF_OPTS} install -by --disablerepo="*" --enablerepo="*ubi-8*" --no-docs procps uuid \
&& dnf ${DNF_OPTS} install -by --disablerepo="*" --enablerepo="*ubi-8*" --nodocs procps uuid \
&& adduser -m ${GITLAB_USER} \
&& mkdir -p /var/log/gitlab ${CONFIG_DIRECTORY} \
&& chown -R ${GITLAB_USER}:${GITLAB_USER} /var/log/gitlab ${CONFIG_DIRECTORY}
......
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