Docker container is not stateless
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
The file /app/lib/tzdata-1.1.2/priv/latest_remote_poll.txt at docker startup.
It will stopped the deployment on Kubernetes/OpenShift as the folder /app/lib/tzdata-1.1.2/priv is read only.
To let it work the following Dockerfile should be used:
FROM openfn/lightning:v2.10.7
RUN chmod -R a+rwX /app/lib/tzdata-1.1.2/priv/
A solution could be to write this file to /app/priv/static or to the cache folder /.npm
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing Docker startup with a read-only /app/lib/tzdata-1.1.2/priv directory and trace the write to latest_remote_poll.txt. Compare the proposed /app/priv/static and /.npm locations, then verify that the container starts successfully in Kubernetes or OpenShift without changing permissions on the dependency directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, elixir, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100