OctopusDeploy / OctopusTentacle

| Public | The secure, lightweight, cross-platform agent for Octopus Server which turns any computer into a worker or deployment target for automated deployments and operations runbooks.
https://octopus.com
Apache License 2.0
11 stars 16 forks source link

Move symlink generation into the base Dockerfile #850

Open Justin-Walsh opened 8 months ago

Justin-Walsh commented 8 months ago

Team

What happened?

We symlink Tentacle into /usr/local/bin in the configure tentacle script, which runs at container start. For users running the container in a readonlyrootfilesystem security context, this means that they need to use a volume mount or other convoluted setup for this one file.

Reproduction

Error and Stacktrace

`ln: failed to create symbolic link '/usr/bin/tentacle': Read-only file system`

More Information

No response

Workaround

No response

LukeButters commented 7 months ago

Release Note: Tentacle docker container now Supports readonlyrootfilesystem https://github.com/OctopusDeploy/OctopusTentacle/issues/850