Skip to content

Commit

Permalink
Enable support for running Docker container on Arch Linux and derivat…
Browse files Browse the repository at this point in the history
…ive hosts (#353)

add optical group with gid 990 for arch linux support
  • Loading branch information
Church13 authored Dec 3, 2024
1 parent 30e213f commit e3879ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ RUN \
RUN groupadd -g 1000 arm \
&& useradd -rm -d /home/arm -s /bin/bash -g arm -G video,cdrom -u 1000 arm

# enable support for Arch Linux and derivatives, who use a different user group for optical drive permissions
RUN groupadd -g 990 optical \
&& usermod -aG optical arm

# set the default environment variables
# UID and GID are not settable as of https://github.com/phusion/baseimage-docker/pull/86, as doing so would
# break multi-account containers
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0
1.2.1

0 comments on commit e3879ef

Please sign in to comment.