Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:illuusio:images
nginx-container-kiwi
config.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File config.sh of Package nginx-container-kiwi
#!/bin/bash # # Copyright (c) 2021, Ilmi Solutions Oy # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # # Description: # Config.sh for docker # CONTAINER_LOCALE=fi_FI CONTAINER_CHARENC=UTF-8 CONTAINER_TIMEZONE="Europe/Helsinki" #====================================== # Functions... #-------------------------------------- test -f /.kconfig && . /.kconfig test -f /.profile && . /.profile #====================================== # Greeting... #-------------------------------------- if [ -z "$kiwi_iname" ] then kiwi_iname="unknown" fi echo "Configure image: [$kiwi_iname]..." #====================================== # Setup baseproduct link #-------------------------------------- suseSetupProduct #====================================== # Import repositories' keys #-------------------------------------- suseImportBuildKey #====================================== # Disable recommends #-------------------------------------- sed -i 's/.*solver.onlyRequires.*/solver.onlyRequires = true/g' /etc/zypp/zypp.conf #====================================== # Exclude docs intallation #-------------------------------------- sed -i 's/.*rpm.install.excludedocs.*/# rpm.install.excludedocs = yes/g' /etc/zypp/zypp.conf #====================================== # Remove locale files #-------------------------------------- (cd /usr/share/locale && find . -name '*.mo' -print0 | xargs -0 rm) #====================================== # Make sure that time zone is correct #-------------------------------------- # ln -sf "/usr/share/zoneinfo/$CONTAINER_TIMEZONE" /etc/localtime # rpm -e --nodeps fontconfig # rpm -e --nodeps libcurl4 # rpm -e --nodeps libexpat1 # rpm -e --nodeps libffi7 # rpm -e --nodeps libfreetype6 # rpm -e --nodeps libgd3 # rpm -e --nodeps libldap-2_4 # rpm -e --nodeps libldap-data # rpm -e --nodeps libncurses6 # rpm -e --nodeps libpng16-16 # rpm -e --nodeps libsolv-tools # rpm -e --nodeps libtiff5 # rpm -e --nodeps libusb-1_0 # rpm -e --nodeps libX11-6 # rpm -e --nodeps libX11-data # rpm -e --nodeps libXau6 # rpm -e --nodeps libxcb1 # rpm -e --nodeps libXpm4 # rpm -e --nodeps libxslt1 # rpm -e --nodeps perl exit 0
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