really, I can do nothing there
Services deployed to Render are running inside Docker containers - we’re not providing a VPS service here like traditional hosting providers, consequently, even if you could run apt update
the container is rebuilt when it’s next deployed based on the native environment or Dockerfile backing the service.
John B
thank you
howver didn’t work
Hi there,
I think you may have misunderstood the last message, it wasn’t suggesting to run that command.
To reiterate, Render services are not traditional VPS servers, SSHing into a service and adding packages is not the intended way to setup your service. As noted in the last message, even if you did manage to install a package through SSH, it would be lost on the next deploy, when the container is rebuilt, service filesystems are ephemeral.
If you’re looking to install packages and customize your service, this type of configuration would most likely be made in a Dockerfile
. Docker has documentation on Best practices for writing Dockerfiles, this has some examples showing the RUN
syntax used to apt-get
(when using a Debian-based linux distro).
Hope that helps
Alan
Noted. thanks