bitsrc/dev

By bitsrc

Updated over 1 year ago
Archived

Docker Image for Bit Application Development

Image

1.2K

Docker Image for Bit Application Development

Getting Started

  1. Install Docker Desktop.

  2. Install VSCode Docker Extension.

  3. Install VSCode Dev Containers Extension.

Using the Image

Pull the Docker Image (e.g For bit version 0.1.48) using CLI or VSCode extension.

docker pull bitsrc/dev:0.1.48

Start the container and attach to it from VSCode (via Docker extension).

For more information on best practices:

Contributor Guide

If you plan to push a new image to Docker Hub, you can follow the below steps.

  1. Build the docker image locally
docker build --build-arg BIT_VERSION=0.1.48 -t bitsrc/dev:0.1.48 .

NODE_HEAP_SIZE (Optional, Default 4096)

You can specify a custom heap size for the image.

  • 4096 (default)
  • 8192
docker build --build-arg BIT_VERSION=0.1.48 --build-arg NODE_HEAP_SIZE=8192 -t bitsrc/dev:0.1.48m .

Note: For image naming convensions, use the suffix m added to the version for heap size 8192.

  1. Push the docker image to Docker Hub
docker push bitsrc/dev:0.1.48

Docker Pull Command

docker pull bitsrc/dev

This image was archived about 2 months ago