Перейти к файлу
Wade Wegner baffccef8f Updated README 2018-07-11 12:40:17 -07:00
assets Updated README 2018-07-11 12:40:17 -07:00
.gitignore Updated README 2018-07-11 12:40:17 -07:00
Dockerfile Updated to prevent container from exiting 2018-07-11 12:18:15 -07:00
LICENSE Initial commit 2018-07-10 09:56:14 -06:00
README.md Updated README 2018-07-11 12:40:17 -07:00
auth.sh Updated to prevent container from exiting 2018-07-11 12:18:15 -07:00

README.md

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