Skip to content

Commit

Permalink
Fix wiping environment when calling docker
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Jun 23, 2021
1 parent 50ea675 commit d7dfb24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reprounzip-docker/reprounzip_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def docker_setup_build(args):
retcode = subprocess.call(args.docker_cmd.split() + ['build', '-t'] +
args.docker_option + [image, '.'],
cwd=target.path,
env={'DOCKER_BUILDKIT': '1'})
env=dict(os.environ, DOCKER_BUILDKIT='1'))
except OSError:
logger.critical("docker executable not found")
sys.exit(1)
Expand Down

0 comments on commit d7dfb24

Please sign in to comment.