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
No related merge requests found
Pipeline #1094 failed
...@@ -2,7 +2,8 @@ cwlVersion: v1.2 ...@@ -2,7 +2,8 @@ cwlVersion: v1.2
class: CommandLineTool class: CommandLineTool
hints: hints:
DockerRequirement: DockerRequirement:
dockerPull: mcr.microsoft.com/dotnet/sdk:6.0 dockerImageId: "devcontainer"
dockerFile: {$include: "FSharpArcCapsule/Dockerfile"}
requirements: requirements:
- class: InitialWorkDirRequirement - class: InitialWorkDirRequirement
listing: listing:
...@@ -13,6 +14,8 @@ requirements: ...@@ -13,6 +14,8 @@ requirements:
envDef: envDef:
- envName: DOTNET_NOLOGO - envName: DOTNET_NOLOGO
envValue: "true" envValue: "true"
- envName: CWL
envValue: "true"
- class: NetworkAccess - class: NetworkAccess
networkAccess: true networkAccess: true
baseCommand: [dotnet, fsi, "./arc/workflows/FSharpArcCapsule/script.fsx"] baseCommand: [dotnet, fsi, "./arc/workflows/FSharpArcCapsule/script.fsx"]
......
...@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0 ...@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0
#FROM r-base #FROM r-base
# Copy endpoint specific user settings into container to specify # Copy endpoint specific user settings into container to specify
# .NET Core should be used as the runtime. # .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 # Install git, process tools
RUN apt-get update && apt-get -y install git procps 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