Skip to content

Commit

Permalink
combine and build single docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj committed Jan 24, 2024
1 parent 22a1dbc commit 2009c34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
- binary: tangle
features: default
image_name: tangle
- binary: tangle
features: txpool
image_name: tangle-txpool
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion docker/Tangle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN apt-get update && apt-get install -y git \
libgmp3-dev protobuf-compiler ca-certificates \
&& rm -rf /var/lib/apt/lists/* && update-ca-certificates

RUN cargo build --locked --release
RUN cargo build --locked --release --features txpool

# This is the 2nd stage: a very small image where we copy the tangle binary."
FROM docker.io/parity/base-bin:latest
Expand Down

0 comments on commit 2009c34

Please sign in to comment.