Skip to content

Instantly share code, notes, and snippets.

@mikamboo
Created June 23, 2019 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikamboo/2bc9ca3b756fd77c707e59033a475d2e to your computer and use it in GitHub Desktop.
Save mikamboo/2bc9ca3b756fd77c707e59033a475d2e to your computer and use it in GitHub Desktop.
Libra dockerized for dev

Libra dockerized !

This is Docker image i built to run the official Libra doc sample doc for executing your first transaction on the Libra Blockchain

The docker libradevbox

Quickly start libra cli with single cmd line using docker :

docker run -it mikamboo/libradevbox

Create your own libra docker image

You can build your own image by running

docker build -t libradevbox .

You are free to use as it or customize the Dockerfile.

FROM ubuntu:18.04
LABEL version="1.0"
LABEL maintainer="Michael P.O <michael@africa-up.io>"
LABEL description="A Libra <libra.org> dev docker image."
WORKDIR /libra
RUN apt-get update && \
apt-get install -y git curl sudo && \
rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/libra/libra.git
RUN echo "y" | /libra/libra/scripts/dev_setup.sh
WORKDIR /libra/libra
CMD ["./scripts/cli/start_cli_testnet.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment