Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Documentation:Containers
daps-toolchain
Dockerfile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Dockerfile of Package daps-toolchain
#!BuildTag: opensuse-daps-toolchain # For ideas: # https://build.opensuse.org/package/show/home:darix:apps/container-gitlab-runner ARG RELEASE=15.4 FROM opensuse/leap:$RELEASE # Define labels according to https://en.opensuse.org/Building_derived_containers # labelprefix=org.opensuse.daps-toolchain PREFIXEDLABEL org.opencontainers.image.title="DAPS container for XML validation" PREFIXEDLABEL org.opencontainers.image.description="Container daps-toolchain %PKG_VERSION%" PREFIXEDLABEL org.opensuse.reference="registry.opensuse.org/documentation/containers/containers/opensuse-daps-toolchain:latest" PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%" PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%" PREFIXEDLABEL org.opencontainers.image.authors="SUSE Documentation Team <doc-team@suse.com>" # Repositories from the project config are used by default. # # Put additional files into container COPY rm-packages \ rm-files \ /root/ # cleanup the previously existing .repo files and add those that the # distribution itself uses, ensuring a correct repository configuration RUN zypper --non-interactive in live-add-yast-repos && \ rm /etc/zypp/repos.d/repo*repo && \ add-yast-repos && zypper -n ref && \ zypper --non-interactive rm live-add-yast-repos ARG URL=https://download.opensuse.org/repositories RUN \ zypper ar $URL/Documentation:/Containers/openSUSE_Leap_'$releasever'/ "DocCont-Leap"; \ zypper ar $URL/Java:/packages/SLE_15_SP2/ "OBS:Java"; \ zypper ar $URL/M17N:/fonts/15.4/ "M17N:fonts"; \ zypper --gpg-auto-import-keys ref # Install packages # # sgml-skel needs to be installed first, as it contains the # `update-xml-catalogs` script which is needed during package build # # this layer adds the bulk of items to the container: we try to do # additions/deletions all at once to avoid layering deletions on top of # additions which would result in a container that is larger, not smaller RUN \ zypper --non-interactive install -y sgml-skel RUN \ zypper --non-interactive install --no-recommends --no-confirm \ vim-small \ curl \ daps \ ditaa \ geekodoc \ git \ hpe-xsl-stylesheets \ libreoffice-draw \ novdoc \ ruby2.5-rubygem-asciidoctor \ suse-doc-style-checker \ suse-xsl-stylesheets \ suse-xsl-stylesheets-sbp \ tar \ w3m \ jq; \ zypper clean --all; \ xargs rpm --erase --nodeps < /root/rm-packages; \ xargs rm -rf < /root/rm-files; \ rm /root/rm-packages /root/rm-files RUN \ mkdir --parents /root/.config/daps; \ echo 'DOCBOOK5_RNG_URI="https://github.com/openSUSE/geekodoc/raw/master/geekodoc/rng/v2/geekodoc5-flat.rnc"' > /root/.config/daps/dapsrc ENV LANG=en_US.UTF-8 ENV LC_ALL=en_US.UTF-8 ENV TERM xterm-256color
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