-
Notifications
You must be signed in to change notification settings - Fork 14
Updating Ember in pass docker
John Abrahams edited this page Oct 28, 2019
·
2 revisions
Steps to update ember container in pass-docker. All steps take place in pass-docker:
- Edit
.envfile to point to the right commit hash, seen in Github - Edit
docker-compose.yml: change the tag name for theembercontainer. The tag forpass-emberandpass-ui-staticfollow the convention:<date>-<commit_hash>. This does mean that changes must already be committed to Github for the tag to accurately reflect any real info. -
docker-compose build emberto build the thing - Push image to Docker Hub.
docker-compose push ember. When this completes, the success message will contain the sha256 hash for the image in Docker Hub. Copy this hash (including thesha256:part) and append it to the image in thedocker-compose.ymlfile. It should now look similar tooapass/ember:201806015-96d1830@sha256:07f8fa7c42b379f35ce88857affa992496df6f2424cff91fdce9c2c364839f4d
If for some reason you don't get a sha256 hash when pushing a new image to Docker Hub, you can find it at any time with Docker. First get the image ID using docker images. Then run the command docker inspect --format='{{index .RepoDigests 0}}' $IMAGE, where $IMAGE is the Docker image ID you just found.
Once you make the above changes, .env and docker-compose.yml should have changes. Commit those changes to a branch and submit a PR against pass-docker.