Skip to content

Commit

Permalink
md-packer
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bonez committed Nov 6, 2020
1 parent 7a2ae11 commit 09ac620
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ASSETS := $(shell yq r manifest.yaml assets.*.src)
DOC_ASSETS := $(shell find ./docs/assets)
ASSET_PATHS := $(addprefix assets/,$(ASSETS))
VERSION := $(shell git --git-dir=bitwarden_rs/.git describe --tags)
BITWARDEN_SRC := $(shell find bitwarden_rs/src) bitwarden_rs/Cargo.toml bitwarden_rs/Cargo.lock
Expand All @@ -16,6 +17,9 @@ bitwarden.s9pk: manifest.yaml config_spec.yaml config_rules.yaml image.tar instr
appmgr -vv pack $(shell pwd) -o bitwarden.s9pk
appmgr -vv verify bitwarden.s9pk

instructions.md: docs/instructions.md $(DOC_ASSETS)
cd docs && md-packer < instructions.md > ../instructions.md

image.tar: Dockerfile $(BITWARDEN_SRC)
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --tag start9/bitwarden --platform=linux/arm/v7 -o type=docker,dest=image.tar -f Dockerfile ./bitwarden_rs

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- [docker-buildx](https://docs.docker.com/buildx/working-with-buildx/)
- [yq](https://mikefarah.gitbook.io/yq)
- [appmgr](https://github.com/Start9Labs/appmgr)
- [md-packer](https://github.com/Start9Labs/md-packer)

## Cloning
```
Expand Down

0 comments on commit 09ac620

Please sign in to comment.