Replies: 4 comments 6 replies
-
Hello, can you send in your Dockerfile? Then we could have a look at it. Regards |
Beta Was this translation helpful? Give feedback.
-
Hi, Thank you for your prompt response. As I mentioned in the first post, I'm not changing the Docker file atm. I'm simply building it locally and adding it to the egg. FROM debian:bookworm-slim LABEL author="Ym0t" maintainer="[email protected]" ARG PHP_VERSION="8.3" ENV DEBIAN_FRONTEND noninteractive RUN apt-get update RUN useradd -m -d /home/container/ -s /bin/bash container WORKDIR /home/container STOPSIGNAL SIGINT COPY ./entrypoint.sh /entrypoint.sh CMD /entrypoint.sh |
Beta Was this translation helpful? Give feedback.
-
im just need perl, maybe u can have a other solution then modifying the Dockerfile ? |
Beta Was this translation helpful? Give feedback.
-
Sorry, I took that the wrong way. Define this in the Dockerfile, in which case you need to add this. with Nginx, the startup command looks like this: and for PHP: I also had the permissions error, or at least a similar one, when creating this egg, but this was due to the configuration file as described. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm not a professional in this area, so I apologize for this question. I need Perl and additional modules to run a statistics website for my game server. However, there is only PHP available.
So, the only solution is to create my own Dockerfile and set it up there, right?
To try, I simply copied your Dockerfile and performed a Docker build, adding the new Docker image to the egg and starting the server with it.
However, what I'm encountering are some permission errors. I don't know why; shouldn't it be the same when pulling it from Git or using it locally?
thats the error i got :
[Pterodactyl Daemon]: Finished pulling Docker container image
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/04/04 21:11:07 [warn] 1#1: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2
nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2
2024/04/04 21:11:07 [emerg] 1#1: mkdir() "/var/cache/nginx/client_temp" failed (30: Read-only file system)
nginx: [emerg] mkdir() "/var/cache/nginx/client_temp" failed (30: Read-only file system)
Beta Was this translation helpful? Give feedback.
All reactions