Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
YaST:Head
rubygem-rubocop-container
Dockerfile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Dockerfile of Package rubygem-rubocop-container
#!BuildTag: rubocop # This actually is registry.opensuse.org/yast/head/images/opensuse/tumbleweed:latest # when building in OBS YaST:Head! FROM opensuse/tumbleweed # do not install the files marked as documentation (use "rpm --excludedocs") RUN sed -i -e "s/^.*rpm.install.excludedocs.*/rpm.install.excludedocs = yes/" /etc/zypp/zypp.conf RUN mkdir -p /usr/share/YaST2/data/devtools/data COPY rubocop-1.60.2_yast_style.yml /usr/share/YaST2/data/devtools/data # import the YaST OBS GPG key COPY YaST:Head.pub /usr/share/gpg-keys/ RUN rpm --import /usr/share/gpg-keys/YaST:Head.pub COPY rubocop-1.60.2-container /usr/local/bin RUN chmod a+x /usr/local/bin/rubocop-1.60.2-container # Prefer the packages from the YaST:Head repository # TODO -p 50 does not work, but should be usless anyway, just like --refresh RUN zypper addrepo --refresh http://download.opensuse.org/repositories/YaST:/Head/openSUSE_Tumbleweed yast RUN zypper --non-interactive install --no-recommends \ "rubygem(ruby:3.3.0:rubocop:1.60.2)" \ && zypper clean --all \ && rm -rf /usr/lib*/ruby/gems/*/cache/ \ && rm -rf /usr/share/doc/ \ && find /usr/lib/locale/* -maxdepth 1 | grep -v -E "(en_US|cs_CZ|es_ES|de_DE|C.utf8)" | xargs rm -rf \ && find /usr/share/locale -name "*.mo" -delete ENV LC_ALL=en_US.UTF-8 RUN mkdir -p /work/src && chmod a+rwx /work/src WORKDIR /work/src
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor