mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-26 06:37:21 +10:00
Merge branch 'master' of github.com:sabrehagen/desktop-environment
This commit is contained in:
commit
4a1dba7ad8
1 changed files with 4 additions and 2 deletions
|
|
@ -68,8 +68,7 @@ ENV USER jackson
|
|||
ENV HOME /$USER/home
|
||||
|
||||
# Make the user's workspace directory
|
||||
RUN mkdir -p $HOME && \
|
||||
chown -R $USER:$USER /$USER
|
||||
RUN mkdir -p $HOME
|
||||
|
||||
# Program environment configuration
|
||||
ENV SSH_AUTH_SOCK $HOME/.ssh.sock
|
||||
|
|
@ -96,6 +95,9 @@ RUN usermod \
|
|||
--groups audio,chrome,video \
|
||||
$USER
|
||||
|
||||
# Take ownership of the desktop user's folder
|
||||
RUN chown -R $USER:$USER /$USER
|
||||
|
||||
# Become the desktop user
|
||||
USER $USER
|
||||
WORKDIR $HOME
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue