Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker containter is not stateless #2794

Open
icrc-fdeniger opened this issue Dec 19, 2024 · 0 comments
Open

Docker containter is not stateless #2794

icrc-fdeniger opened this issue Dec 19, 2024 · 0 comments

Comments

@icrc-fdeniger
Copy link

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

@github-project-automation github-project-automation bot moved this to New Issues in v2 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New Issues
Development

No branches or pull requests

1 participant