diff --git a/workflows/FSharpArcCapsule.cwl b/workflows/FSharpArcCapsule.cwl index 260293673e45d57e81855f73c708fd54e75de6af..f3aa1c3f95a5738b6ef96e0dfa546651bc739c0c 100644 --- a/workflows/FSharpArcCapsule.cwl +++ b/workflows/FSharpArcCapsule.cwl @@ -2,7 +2,8 @@ cwlVersion: v1.2 class: CommandLineTool hints: DockerRequirement: - dockerPull: mcr.microsoft.com/dotnet/sdk:6.0 + dockerImageId: "devcontainer" + dockerFile: {$include: "FSharpArcCapsule/Dockerfile"} requirements: - class: InitialWorkDirRequirement listing: @@ -13,6 +14,8 @@ requirements: envDef: - envName: DOTNET_NOLOGO envValue: "true" + - envName: CWL + envValue: "true" - class: NetworkAccess networkAccess: true baseCommand: [dotnet, fsi, "./arc/workflows/FSharpArcCapsule/script.fsx"] diff --git a/workflows/FSharpArcCapsule/Dockerfile b/workflows/FSharpArcCapsule/Dockerfile index a32264b5d8f2dc81486f8ea23d33727316a2497a..982b4cd63f891c635c7e9be78e8e0c6462935e9c 100644 --- a/workflows/FSharpArcCapsule/Dockerfile +++ b/workflows/FSharpArcCapsule/Dockerfile @@ -3,7 +3,7 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0 #FROM r-base # Copy endpoint specific user settings into container to specify # .NET Core should be used as the runtime. -COPY .devcontainer/settings.vscode.json /root/.vscode-remote/data/Machine/settings.json +COPY *.devcontainer/settings.vscode.json /root/.vscode-remote/data/Machine/settings.json # Install git, process tools RUN apt-get update && apt-get -y install git procps