Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN yum update -y && yum -y install xmlstarlet saxon augeas bsdtar unzip && yum
# so there is a high chance that this ID will be equal to the current user
# making it easier to use volumes (no permission issues)
RUN groupadd -r jboss -g 1000 && useradd -u 1000 -r -g jboss -m -d /opt/jboss -s /sbin/nologin -c "JBoss user" jboss && \
chmod 755 /opt/jboss
chmod 755 /opt/jboss && setfacl -R -m u:1000:rwX /opt/jboss && setfacl -R -m d:u:1000:rw /opt/jboss

# Set the working directory to jboss' user home directory
WORKDIR /opt/jboss
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ This image has the working directory set to `/opt/jboss`, which is the `jboss` u
### Availability

The `Dockerfile` is available in the `master` branch and is built in the Docker HUB as `jboss/base:latest`.

### ACL Limitations

The file acls used, will not work on file systems that do not support them, such as AUFS.
Also, please ensure that your kernel has ACLs enabled (most standard distros should have this by default)