Перейти к файлу
Wade Wegner 5ec9a0ff27
Merge pull request #2 from BretFisher/cli-tuning
big PR to enhance docker setup
2018-08-16 21:26:02 -07:00
assets Updated README 2018-07-11 12:40:17 -07:00
.dockerignore add dockerignore 2018-07-11 22:45:00 -04:00
.gitignore Updated README 2018-07-11 12:40:17 -07:00
Dockerfile big PR to enhance docker setup 2018-07-11 21:46:14 -04:00
LICENSE Initial commit 2018-07-10 09:56:14 -06:00
README.md Updated README 2018-07-11 12:40:17 -07:00
docker-compose.yml big PR to enhance docker setup 2018-07-11 21:46:14 -04:00
docker-entrypoint.sh big PR to enhance docker setup 2018-07-11 21:46:14 -04: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