Skip to content

Commit

Permalink
Merge branch 'master' into rew/add-teacache-switch-v17
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsleycj authored Oct 7, 2023
2 parents d894b03 + 97bdb65 commit 1ec1508
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## Unreleased

* Add `deploy_cumulus_distribution` variable to cumulus module
* Update build Dockerfile to create an entry in /etc/passwd for the user building
the image. It allows the `setup_jwt_cookie.sh` script to be run inside the
container.

## v17.0.0.0
* Upgrade to [Cumulus v17.0.0](https://github.com/nasa/cumulus/releases/tag/v17.0.0)
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ RUN \
curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm" -o "session-manager-plugin.rpm" &&\
yum install -y session-manager-plugin.rpm

# Add user for keygen in Makefile
ARG USER
RUN \
echo "user:x:${USER}:0:root:/:/bin/bash" >> /etc/passwd

WORKDIR /CIRRUS-core

# Python38 target
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ endef
# ---------------------------
.PHONY: image
image: Dockerfile
docker build -f Dockerfile --no-cache -t cirrus-core:$(DOCKER_TAG) --target $(PYTHON_VER) .
docker build -f Dockerfile --no-cache -t cirrus-core:$(DOCKER_TAG) --target $(PYTHON_VER) --build-arg USER=`id -u` .

.PHONY: container-shell
container-shell:
Expand Down

0 comments on commit 1ec1508

Please sign in to comment.