Browse Source

copy git config to HOME

master
LER0ever 1 year ago
parent
commit
084edcfe9f
4 changed files with 11 additions and 1 deletions
  1. 7
    0
      Dockerfile
  2. 2
    0
      acbs/forest.conf
  3. 0
    1
      aosc-dbk
  4. 2
    0
      git/gitconfig

+ 7
- 0
Dockerfile View File

@@ -11,6 +11,8 @@ COPY locale/locale.gen /etc/locale.gen
11 11
 RUN apt update && \
12 12
     apt full-upgrade -y
13 13
 
14
+RUN apt install the-silver-searcher ctags fzf -y
15
+
14 16
 # EverVim minimal
15 17
 # With aosc.vim plugin installed by default
16 18
 COPY vim/EverVim.vimrc $HOME/.EverVim.vimrc
@@ -26,8 +28,13 @@ RUN apt install zsh thefuck -y && \
26 28
 COPY zsh/zshrc $HOME/.zshrc
27 29
 COPY zsh/void-mod.zsh-theme $HOME/.oh-my-zsh/custom/themes/
28 30
 
31
+# Git config
32
+COPY git/gitconfig $HOME/.gitconfig
33
+COPY git/gitignore_global $HOME/.gitignore_global
34
+
29 35
 # Autobuild config
30 36
 COPY acbs/ab3cfg.sh /etc/autobuild/ab3cfg.sh
37
+COPY acbs/forest.conf /etc/acbs/forest.conf
31 38
 
32 39
 # Default to abbs
33 40
 WORKDIR /workdir

+ 2
- 0
acbs/forest.conf View File

@@ -0,0 +1,2 @@
1
+[default]
2
+location = /workdir

+ 0
- 1
aosc-dbk View File

@@ -6,7 +6,6 @@ main() {
6 6
       --rm \
7 7
       --name "LER0ever-AOSC-DBK" \
8 8
       --hostname "LER0ever-AOSC-DBK" \
9
-      --volume "$PWD":/var/lib/acbs/repo \
10 9
       --volume "$PWD":/workdir \
11 10
       --volume "$PWD/../aosc-pkgs/os-amd64":/os-amd64 \
12 11
       --volume "$PWD/../aosc-pkgs/os-noarch":/os-noarch \

+ 2
- 0
git/gitconfig View File

@@ -69,3 +69,5 @@
69 69
 	clean = git-lfs clean %f
70 70
 	smudge = git-lfs smudge %f
71 71
 	required = true
72
+[credential]
73
+	helper = store

Loading…
Cancel
Save