Replies: 1 comment
-
I don't see any reason not to! I actually would like to go full circle and implement a connector that writes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it reasonable to use
pyinfra
to build docker images as a replacement for aDockerfile
?(I'm a new to both, so I may be missing something obvious.)
I tried the getting started example, removing
my-server.net
from the inventory. I also had to remove the_sudo=True
line and addapt.update()
into thedeploy.py
file.pyinfra
finishes with the line:But
docker image ls
doesn't show an image with that ID!(I was also expecting to be able to tag the image, as I would in the first line in a
Dockerfile
.)It does appear that if I run the
fc3d129d459f
image that it is what I'm looking for.I'm probably missing some basic concepts, but if someone has a moment to point me in the right direction, I'd appreciate it!
Beta Was this translation helpful? Give feedback.
All reactions