Skip to content

cromieent/waw-sfdx-docker

 
 

Repository files navigation

waw-sfdx-docker

A docker image you can use for active Salesforce DX development.

Usage

Make sure you have Docker setup and working properly. Review the Getting Started materials from Docker.

Also, make sure you install jq, which is used to grab the sfdxAuthUrl of your Dev Hub.

Use Published Image

Follow these instructions if you want to use my published image.

export SFDX_DEV_HUB_AUTH_URL=$(sfdx force:org:display --verbose -u <your-dev-hub> --json | jq -r .result.sfdxAuthUrl)

docker run -dit --name <your-name> -e SFDX_DEV_HUB_AUTH_URL=$SFDX_DEV_HUB_AUTH_URL wadewegner/waw-sfdx-docker:latest
docker exec -i -t <your-name> /bin/bash

Build Locally

Follow these instructions if you want to build your own image locally.

export SFDX_DEV_HUB_AUTH_URL=$(sfdx force:org:display --verbose -u <your-dev-hub> --json | jq -r .result.sfdxAuthUrl)

docker build -t <your-tag> .
docker image ls | <your-tag>
docker run -dit --name <your-name> -e SFDX_DEV_HUB_AUTH_URL=$SFDX_DEV_HUB_AUTH_URL <your-tag>
docker exec -i -t <your-name> /bin/bash

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 70.4%
  • Shell 29.6%