Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Using ./?/.ivy2 when given working directory parameter #6

@aladagemre

Description

I ran into an strange issue, I don't have time to replicate with a minimal example but I wanted to drop a line.

When given -w="..." working directory parameter, it's using $WORKING_DIRECTORY/?/.ivy2, not the mounted /home/user/.ivy2:/root/.ivy2 volume.

By the way, ? is real question mark. I don't know whether this is a Docker bug or a sbt bug.

It seems that using bash -c "cd $WORKING_DIRECTORY; sbt dist" doesn't work either.

Instead, providing ivy2 path manually works:

sbt -ivy /root/.ivy2 dist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions