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/
COPY acbs/ab3cfg.sh /etc/autobuild/ab3cfg.sh

# Default to abbs
WORKDIR /var/lib/acbs/repo
WORKDIR /workdir

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
## Docker Hub
This docker image is automatically built every night using Travis CI and cron job.

## Usage
- Copy the `aosc-dbk` script to `/usr/local/bin`
- Navigate into an abbs tree
- `aosc-dbk`


## Notice
If you want to use this project as your packaging environment for whatever reason (which is highly unlikely),
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() {
--name "LER0ever-AOSC-DBK" \
--hostname "LER0ever-AOSC-DBK" \
--volume "$PWD":/var/lib/acbs/repo \
--volume "$PWD/../pkgs/os-amd64":/os-amd64 \
--volume "$PWD/../pkgs/os-noarch":/os-noarch \
--volume "$PWD":/workdir \
--volume "$PWD/../aosc-pkgs/os-amd64":/os-amd64 \
--volume "$PWD/../aosc-pkgs/os-noarch":/os-noarch \
--volume ~/.ssh/id_rsa:/home/everette/.ssh/id_rsa \
ler0ever/aosc-dbk "$@"
}

Loading…
Cancel
Save