Skip to content

Commit

Permalink
re-order custom apt-packages before pip requirements (b/163169552) (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajslone authored Aug 12, 2020
1 parent 8055bd5 commit 9062a7b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions caliban/docker/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,12 @@ def _dockerfile_template(
adc_path=adc_path,
credentials_path=credentials_path)

dockerfile += _custom_packages(uid,
gid,
packages=c.apt_packages(
caliban_config, job_mode),
shell=shell)

dockerfile += _dependency_entries(workdir,
uid,
gid,
Expand All @@ -661,12 +667,6 @@ def _dockerfile_template(

dockerfile += _extra_dir_entries(workdir, uid, gid, extra_dirs)

dockerfile += _custom_packages(uid,
gid,
packages=c.apt_packages(
caliban_config, job_mode),
shell=shell)

dockerfile += _resource_entries(uid, gid, resource_files)

if package is not None:
Expand Down

0 comments on commit 9062a7b

Please sign in to comment.