Created
April 21, 2020 15:18
-
-
Save pcantalupo/39f122d1c9a8f3a6933eee91003fbc0f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dockerfile = 'https://raw.githubusercontent.com/pcantalupo/ViraVate/master/Dockerfile' | |
println dockerfile // print variable | |
file_dockerfile = file(dockerfile) | |
println file_dockerfile.text // print contents of file (pulled from remote location) | |
df_ch = Channel.fromPath(dockerfile) | |
process foo { | |
echo true | |
input: | |
file(dockerfile) from df_ch | |
script: | |
""" | |
head $dockerfile | |
""" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment