-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-8237: [Python][Documentation] Minor corrections to python minimal build documentation #6845
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
Conversation
|
@JacekPliszka can you rebase this on latest master? As now it still includes all changes of Wes' PR, which makes it difficult to see what is actually in the diff |
Sorry, corrected. One commit is putting Ubuntu with docker at the top while changing Fedora to podman and moving to bottem + adding disclaimer 2nd commit is adding more environment variables so it is easier to run/rerun the commands from command line without containers. |
|
It is mostly small corrections to what Wes did so possibly he should review it. |
pitrou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank for doing this. Here are some comments and questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my testing, you need to add a dot (.) at the end. This is the "context" argument, which is mandatory at least here (Ubuntu 18.04).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This I cannot tell as I am running podman and I do not need .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, but this seems to conflate two things:
- running a container on a Fedora host
- running a Fedora container
Perhaps the note about podman vs. docker should be relegated to a separate section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I will preare separate section about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't podman support the -v option to create a volume? Is this why you added the COPY lines to the dockerfile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does but it is privilaged operation so you either need to disable security or configure it properly.
Copying scripts at the end of docker file is simpler.
But this is probably for separate section...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| docker build -t arrow_ubuntu_minimal -f Dockerfile.ubuntu | |
| docker build -t arrow_ubuntu_minimal -f Dockerfile.ubuntu . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(without this change, the docker command fails:
"docker build" requires exactly 1 argument.
See 'docker build --help'.
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added though these lines are originally from Wes
build_venv.sh is modified so when running from command line the common directory for all build-related tasks is used.
pitrou
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 after a few changes
|
Thanks all! |
Fedora instructions changed to podman with disclaimer added
venv script modified to use environment variables more allowing user to put all build related files to single directory (before some were in HOME, other in / )