Skip to content
Snippets Groups Projects
Commit 33b94f72 authored by Caroline Ott's avatar Caroline Ott
Browse files

Add conditional copy to dockerfile and dockerfile to cwl

parent 3d3daa3b
No related branches found
No related tags found
Loading
......@@ -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"]
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment