Skip to content

Instantly share code, notes, and snippets.

@fracek
Created June 13, 2024 13:42
Show Gist options
  • Save fracek/6a05a9986d3c3ba908bb086589733c4b to your computer and use it in GitHub Desktop.
Save fracek/6a05a9986d3c3ba908bb086589733c4b to your computer and use it in GitHub Desktop.
Apibara on ubuntu docker
FROM ubuntu:22.04
RUN apt-get update && apt-get install --yes jq curl
# Install apibara cli binary
RUN curl -sL https://install.apibara.com | bash
RUN /root/.local/share/apibara/bin/apibara --version
# Install plugin
RUN /root/.local/share/apibara/bin/apibara plugin install sink-console
RUN /root/.local/share/apibara/bin/apibara plugin list
# Set plugin as entrypoint
ENTRYPOINT ["/root/.local/share/apibara/plugins/apibara-sink-console"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment