Questions tagged [docker]
The docker tag has no usage guidance.
14
questions
3
votes
0
answers
113
views
Docker deployment to Heroku crashes with H10 error
Sorry if this has an obvious answer, I am a beginner to web deployment. I have a docker image of a simple website that I have made using a Django backend and React frontend. This runs locally with a ...
1
vote
1
answer
183
views
How to install a specific version of the Salesforce CLI on Linux?
I know that there is some code on how to install latect linux sfdx tar.xz archive inside container. you have to download the archive, unpack it and then run ./sfdx/install which works fine. However, ...
2
votes
0
answers
19
views
Deploying custom Docker image w/ gunicorn causing non-reproducable errors on Heroku
TL;DR I'm attempting to deploy snekbox via a docker image to Heroku, it seems to have issues installing requirements (especially gunicorn).
The specific repo I'm attempting to install is snekbox: ...
0
votes
0
answers
89
views
sfdx plugin installed using Dockerfile not available on Jenkins pipeline stage
I'm having sort of a weird problem with my Jenkins pipeline. I've defined a Dockerfile which installs some tools I need for my CI/CD pipeline, such as node, npm, sfdx, and sfpowerkit (a plugin for ...
2
votes
1
answer
301
views
manifest for salesforce/salesforcedx:latest not found: manifest unknown: manifest unknown
I am trying to create a Codespace using the Salesforce Docker image, but I am getting this error:
manifest for salesforce/salesforcedx:latest not found: manifest unknown: manifest unknown
I have a ...
1
vote
3
answers
2k
views
Heroku container push fail: "no basic auth credentials ▸ Error: docker push exited with Error: 1"
Once again, what worked perfectly three days ago fails today.
heroku container:login
Login Succeeded
.
.
docker login
.
.
Login Succeeded
.
.
heroku container:push web -a blah
=== Building web (/...
1
vote
0
answers
36
views
Docker redownloading base image at each deploy (heroku.yml)
My build logs, but the important bit below:
aac6a114e757: Pull complete
Digest: sha256:48b6801235e4179dec2427bd57853239553ea8bba20fba496df219469370b11c
Status: Downloaded newer image for mhart/...
1
vote
0
answers
849
views
Trouble with Heroku env vars getting passed into docker container
Summary:
I have added environment variables to the "Config Vars" section of my Heroku project. The project is a dockerized create-react-app project. I am able to deploy the app but I have ...
9
votes
1
answer
918
views
Lean and reusable DX Bitbucket Pipeline for PR checks
For many of our Salesforce development projects we are doing trunk-based development. I only use short-lived feature or bug branches which are merged into the trunk (branch) using Pull Requests. ...
1
vote
1
answer
126
views
Copy file to Docker executor on Circleci for SFDX project
I have a SFDX project on github which is linked to circleci. I'm using docker executor in circleci. Now I don't want to create a new scratch org everytime my workflow runs on circleci after a commit.
...
5
votes
1
answer
419
views
sfdx-cli npm package install not using the proper sfdx version
When installing sfdx with npm in a docker (npm i -g sfdx-cli),
there is a mismatch between the sfdx version shown by sfdx --version and the version used by sfdx commands.
sfdx --version show sfdx-cli/...
1
vote
1
answer
115
views
Heroku: running a MongoDB and Flask site, defined with Docker-Compose
I have a docker image that I've made using a single docker-compose.yml. It is a very simple Flask and MongoDB site, defined as such:
version: '3'
services:
website:
build: .
...
3
votes
1
answer
876
views
Jenkins, Docker and SFDX: Share SFDX "cache" between docker containers
Our jenkins jobs using SFDX are dockerized, and we would like to be able to reuse scratch orgs from one job to another.
As a scratch org is linked to one SFDX CLI installation sfdx force:org:list ...
2
votes
2
answers
1k
views
CI/CD w/ SFDX: Where to store the jwtkeyfile in my repo?
I was following some notes online and managed to setup a CI/CD pipeline in bitbucket using Docker and SFDX. I used the following command in the .yaml file:
sfdx force:auth:jwt:grant --clientid $...