Skip to content

Instantly share code, notes, and snippets.

@mikamboo mikamboo/Dockerfile
Created Jun 23, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.