Skip to content
Snippets Groups Projects
Commit 2c22de15 authored by Ingo Meyer's avatar Ingo Meyer
Browse files

Merge branch 'deploy-to-obs' into 'master'

Deploy to obs (update)

See merge request docker-images/gr-build-images!24
parents fcbc4ef7 105bfcf5
No related branches found
No related tags found
No related merge requests found
Pipeline #54996 skipped
......@@ -5,20 +5,17 @@ WORKDIR /root
COPY openSUSE_Tools-repomd.xml.key /etc/yum.repos.d
RUN chmod 775 \
/root \
&& \
mkdir -m 775 -p /root/.config/osc/trusted-certs \
&& \
cd /etc/yum.repos.d/ && \
curl -LO https://download.opensuse.org/repositories/openSUSE:Tools/CentOS_8/openSUSE:Tools.repo && \
rpm --import openSUSE_Tools-repomd.xml.key && \
cd - \
&& \
yum update -y && yum install -y epel-release && yum install -y \
osc \
&& \
yum clean all -y
RUN chmod 775 /root \
&& mkdir -m 775 -p /root/.config/osc/trusted-certs \
&& pushd /etc/yum.repos.d/ \
&& curl -LO https://download.opensuse.org/repositories/openSUSE:Tools/CentOS_8/openSUSE:Tools.repo \
&& rpm --import openSUSE_Tools-repomd.xml.key \
&& popd \
&& dnf install -y epel-release \
&& dnf -y update-minimal --setopt=tsflags=nodocs \
--security --sec-severity=Important --sec-severity=Critical \
&& dnf -y install --setopt=tsflags=nodocs git osc \
&& dnf clean all -y
COPY entrypoint.sh /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment