-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Allow Dockerfile literal in task cfg #86
Comments
What is the best workaround in the meantime? [Guessing]: put another task before the oci-build-task to write a 2-line Dockerfile to outputs, and then add to inputs? |
I do this for a project of mine - task: push-image
...
inputs:
- name: bin
run:
path: sh
args:
- -c
- |
cat <<EOF > Dockerfile
FROM arm64v8/ubuntu
COPY bin/singh3 /usr/bin/singh3
CMD ["singh3"]
EOF
build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For simple uses cases like:
this is attractive for the same reasons as Dockerfile [with/without] context from stdin.
The text was updated successfully, but these errors were encountered: