clone-opt

This commit is contained in:
Jackson Delahunt 2023-10-03 20:08:22 +11:00
parent 17a5fbcf46
commit f971424e2e

View file

@ -446,6 +446,9 @@ RUN userdel -r ubuntu && \
# Set non-root user password
RUN sed -i "s;^$USER:[^:]*;$USER:$DESKTOP_ENVIRONMENT_HOST_USER_PASSWORD;" /etc/shadow
# Clone the desktop environment
RUN git clone https://github.com/sabrehagen/desktop-environment /opt/desktop-environment
# Take ownership of user's home directory and applications
RUN chown -R $USER:$USER $HOME /opt
@ -453,9 +456,6 @@ RUN chown -R $USER:$USER $HOME /opt
USER $USER
WORKDIR $HOME
# Clone the desktop environment
RUN git clone https://github.com/sabrehagen/desktop-environment
# If the DOTFILES_CACHEBUST build arg is supplied, rebuild from static dotfiles onwards
ARG DOTFILES_CACHEBUST
RUN DOTFILES_CACHEBUST=$DOTFILES_CACHEBUST echo "Building from dotfiles..."