From 5946d7df0d10a544cda84b7461d2abb213d7d0d1 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sat, 11 Nov 2023 18:15:56 +0000 Subject: [PATCH] chore: git config is the last step of image --- Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index d69f94a..f836ea6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -165,13 +165,6 @@ RUN fish -c true \ && echo 'alias ll="l -Fahl"' >> ${XDG_CONFIG_HOME}/fish/config.fish \ && echo 'alias la="l -a"' >> ${XDG_CONFIG_HOME}/fish/config.fish -# configure git -ARG GIT_USER_EMAIL -ARG GIT_USER_NAME -RUN git config --global user.email "${GIT_USER_EMAIL}" \ - && git config --global user.name "${GIT_USER_NAME}" \ - && git config --global core.editor nvim - # install rtx plugins RUN ${XDG_DATA_HOME}/rtx/bin/rtx plugins install \ awscli \ @@ -214,3 +207,10 @@ RUN git clone https://github.com/elixir-lsp/elixir-ls.git ${LOCAL_SRC_HOME}/elix && cd ${LOCAL_SRC_HOME}/elixir-ls/v0.14.6 \ && git checkout tags/v0.14.6 \ && cp .release-tool-versions .tool-versions + +# configure git +ARG GIT_USER_EMAIL +ARG GIT_USER_NAME +RUN git config --global user.email "${GIT_USER_EMAIL}" \ + && git config --global user.name "${GIT_USER_NAME}" \ + && git config --global core.editor nvim