You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
neingeist 385b84a14d ⚙️ .github: use docker's actions 1 year ago
.github/workflows ⚙️ .github: use docker's actions 1 year ago
root/etc/s6-overlay/s6-rc.d TWEAK_USERS_GID 1 year ago
.dockerignore 🚧 initial commit 1 year ago
Dockerfile 🚧 initial commit 1 year ago 📝 add 1 year ago


A Docker mod for's openssh-server Docker image

This mod allows:

  • Tweaking the umask in /etc/profile (TWEAK_PROFILE_UMASK)
  • Tweaking the home directory of the user (TWEAK_USER_HOME) (Note: You need to set up SSH keys etc. yourself if you use this.)
  • Tweaking the gid of the users group (TWEAK_USERS_GID)

I use these tweaks to align my NAS defaults + my expectations with the settings inside an LSIO openssh-server container.

How to use

For example, in a docker-compose.yml file:

# [...]
    # [...]
      - TWEAK_USER_HOME=/home/myuser
      - TWEAK_USERS_GID=100
# [...]