Skip to content

Move symlink generation into the base Dockerfile #850

@Justin-Walsh

Description

@Justin-Walsh

Team

  • I've assigned a team label to this issue

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

  • Run the Tentacle in a readonlyrootfilesystem (with /home/tentacle and /etc/octopus as volume mounts
  • Start container
  • 💥

Error and Stacktrace

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

More Information

No response

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions