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
10 stars 16 forks source link

Move symlink generation into the base Dockerfile #850

Open Justin-Walsh opened 6 months ago

Justin-Walsh commented 6 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 6 months ago

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