Browse Source

update cwd to /workdir

master
LER0ever 1 year ago
parent
commit
59658c22ed
3 changed files with 10 additions and 3 deletions
  1. 1
    1
      Dockerfile
  2. 6
    0
      README.md
  3. 3
    2
      aosc-dbk

+ 1
- 1
Dockerfile View File

@@ -30,6 +30,6 @@ COPY zsh/void-mod.zsh-theme $HOME/.oh-my-zsh/custom/themes/
30 30
 COPY acbs/ab3cfg.sh /etc/autobuild/ab3cfg.sh
31 31
 
32 32
 # Default to abbs
33
-WORKDIR /var/lib/acbs/repo
33
+WORKDIR /workdir
34 34
 
35 35
 CMD [ "/bin/zsh" ]

+ 6
- 0
README.md View File

@@ -15,6 +15,12 @@ If you are looking for a dockerized development environment, please try [LER0eve
15 15
 ## Docker Hub
16 16
 This docker image is automatically built every night using Travis CI and cron job.
17 17
 
18
+## Usage
19
+- Copy the `aosc-dbk` script to `/usr/local/bin`
20
+- Navigate into an abbs tree
21
+- `aosc-dbk`
22
+
23
+
18 24
 ## Notice
19 25
 If you want to use this project as your packaging environment for whatever reason (which is highly unlikely),
20 26
 please use the following config to create a derivative in order to get rid of my personal info (email, git identity, etc.)

+ 3
- 2
aosc-dbk View File

@@ -7,8 +7,9 @@ main() {
7 7
       --name "LER0ever-AOSC-DBK" \
8 8
       --hostname "LER0ever-AOSC-DBK" \
9 9
       --volume "$PWD":/var/lib/acbs/repo \
10
-      --volume "$PWD/../pkgs/os-amd64":/os-amd64 \
11
-      --volume "$PWD/../pkgs/os-noarch":/os-noarch \
10
+      --volume "$PWD":/workdir \
11
+      --volume "$PWD/../aosc-pkgs/os-amd64":/os-amd64 \
12
+      --volume "$PWD/../aosc-pkgs/os-noarch":/os-noarch \
12 13
       --volume ~/.ssh/id_rsa:/home/everette/.ssh/id_rsa \
13 14
       ler0ever/aosc-dbk "$@"
14 15
 }

Loading…
Cancel
Save