From 75cd390d12a9561ec31a4d456ddf2df035b73631 Mon Sep 17 00:00:00 2001 From: Adam Veldhousen Date: Thu, 28 Oct 2021 20:53:17 -0500 Subject: [PATCH] chore: improve docker image used for testing --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3dbb16f..5178ad2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ RUN pacman -Sy --noconfirm openssh sudo vim git curl which gnupg make gcc binuti WORKDIR /home/files COPY --chown=1000:1000 . /home/files/.files USER 1000 -RUN rm -rf .bash_rc .bash_logout .zshrc .profile .zlogin .zshrc .bashrc mkshrc -RUN echo "[[ -f '/home/files/.files/sourceme.sh' ]] && source /home/files/.files/sourceme.sh" > /home/files/.bash_profile -RUN source /home/files/.files/sourceme.sh +RUN rm -rf .bash_rc .bash_logout .zshrc .profile .zlogin .zshrc .bashrc mkshrc \ + && cat /home/files/.files/install_script.sh > /home/files/.bash_profile \ + && source /home/files/.bash_profile CMD ["bash", "--login"]