You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the docker instructions are added, the docker file is added, and the client does run within the container, but we need to add to the Dockerfile the script directory.
Currently this is a bit of an issue since we generate the script output directory straight to the user home directory.
Docker is unable to actually view anything outside the working directory.
This means we should instead build into the standard build directory AND the script directory.
This will have to be implemented in Gradle via task that triggers on build.
The text was updated successfully, but these errors were encountered:
I think this can be solved via updating sourceSets and setting where to output the compile manually to /build/scripts - we already have ADD ./build/scripts root/.config/OsrsBot/Scripts/Sources/ in Dockerfile
sourceSets {
main {
java.getDestinationDirectory().set(file(getBotScriptDirectory(this)))
java.getDestinationDirectory().set(file("build/scripts"))
}
}
Alternatively we could also just do ADD ./build/libs root/.config/OsrsBot/Scripts/Precompiled/ in the Dockerfile
Currently, the docker instructions are added, the docker file is added, and the client does run within the container, but we need to add to the Dockerfile the script directory.
Currently this is a bit of an issue since we generate the script output directory straight to the user home directory.
Docker is unable to actually view anything outside the working directory.
This means we should instead build into the standard build directory AND the script directory.
This will have to be implemented in Gradle via task that triggers on build.
The text was updated successfully, but these errors were encountered: