Skip to content

Commit

Permalink
Add Docker files for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
froch committed Jul 26, 2024
1 parent 0f40105 commit 091dc7a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 5 deletions.
15 changes: 15 additions & 0 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM homebrew/brew:latest AS xion

ENV LEDGER_ENABLED=false
ENV LINK_STATICALLY=false

RUN set -eux \
&& brew update \
&& brew install [email protected]

RUN set -eux \
&& brew tap burnt-labs/xion \
&& brew install xiond \
&& xiond version --long

CMD ["xiond", "version", "--long"]
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# homebrew-xion

## How do I install these formulae?
Homebrew formula for the Xion Daemon

`brew install burnt-labs/xion/<formula>`
## Install

Or `brew tap burnt-labs/xion` and then `brew install <formula>`.
```bash
$ brew tap burnt-labs/xion
$ brew install xiond
```

## Documentation
## Testing

`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).
```bash
$ docker compose up ubuntu
```

## Linting

Expand Down
8 changes: 8 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
services:

ubuntu:
image: burnt-labs/brew
build:
context: .docker
dockerfile: Dockerfile
platform: linux/amd64

0 comments on commit 091dc7a

Please sign in to comment.