dropbox / dbx_build_tools

Dropbox's Bazel rules and tools
Other
208 stars 36 forks source link

using dbx_build_tools with Docker #38

Open hrvolapeter opened 3 years ago

hrvolapeter commented 3 years ago

Hello,

I'm grateful for this package which simplifies running and solving python dependencies quite a bit. However, I'd like to know if there is some recommended way to package the python scripts including runfiles into docker. There seems to be a problem mentioned in bazelbuild/rules_pkg#339 where python runfiles are not properly included in pkg_tar even when include_runfiles is specified

jhance commented 2 years ago

We do not use docker but we use https://github.com/dropbox/dbx_build_tools/blob/master/build_tools/bazel/pkg.bzl to package our binaries.