├── Dockerfile ├── LICENSE ├── README.md └── cccp.yml /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | MAINTAINER Marek Goldmann 3 | 4 | # Install packages necessary to run EAP 5 | RUN yum update -y && yum -y install xmlstarlet saxon augeas bsdtar unzip && yum clean all 6 | 7 | # Create a user and group used to launch processes 8 | # The user ID 1000 is the default for the first "regular" user on Fedora/RHEL, 9 | # so there is a high chance that this ID will be equal to the current user 10 | # making it easier to use volumes (no permission issues) 11 | RUN groupadd -r jboss -g 1000 && useradd -u 1000 -r -g jboss -m -d /opt/jboss -s /sbin/nologin -c "JBoss user" jboss && \ 12 | chmod 755 /opt/jboss 13 | 14 | # Set the working directory to jboss' user home directory 15 | WORKDIR /opt/jboss 16 | 17 | # Specify the user which should be used to execute all commands below 18 | USER jboss 19 | 20 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Red Hat 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Base Docker image for JBoss community projects 2 | 3 | This repository contains base image that is used to build the portfolio of Docker images for JBoss community projects. 4 | 5 | ## Base image 6 | 7 | This image is used as a base image for *all* JBoss community images. It provides a base layer that includes: 8 | 9 | 1. A `jboss` user (uid/gid `1000`) with home directory set to `/opt/jboss` 10 | 2. A few tools that may be useful when extending the image or installing software, like `unzip`. 11 | 12 | ### Operating system 13 | 14 | This image uses CentOS 7. 15 | 16 | ### Working directory 17 | 18 | This image has the working directory set to `/opt/jboss`, which is the `jboss` user home directory at the same time. 19 | 20 | ### Availability 21 | 22 | The `Dockerfile` is available in the `master` branch and is built in the Docker HUB as `jboss/base:latest`. 23 | -------------------------------------------------------------------------------- /cccp.yml: -------------------------------------------------------------------------------- 1 | # This is for the purpose of building this container through the 2 | # container pipeline service. 3 | job-id: base 4 | --------------------------------------------------------------------------------