Questions tagged [docker]
The docker tag has no usage guidance.
15
questions
0
votes
0
answers
15
views
how to setup sf cli in docker that run as anonymous user
i am installing cf cli in docker. it works fine when I run the docker as root. but when I run it as anonymous user: docker run -it --user 1001 sf_docker:latest bash and then executing:
sf version
it ...
0
votes
0
answers
74
views
Heroku is automatically upgrading pyparsing to latest version [ Heroku container deploy ]
Hello there i am trying to deploy a sample TensorFlow object-detection api application on Heroku using Heroku container my issue is that object-detection api uses version 2.4.2 of pyparsing but Heroku ...
3
votes
0
answers
272
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 ...
2
votes
1
answer
2k
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
43
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: ...
2
votes
1
answer
641
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
4k
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
88
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/...
2
votes
0
answers
1k
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
1k
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
175
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
768
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
174
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
1k
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
2k
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 $...