Skip to content

Commit 9b686a3

Browse files
committed
(GH-819) Revert TMPDIR changes
This commit reverts the modification of the TMPDIR environment variable from the previous release. This change was made to fix a bug in docker compose where some processes would fail if the noexec bit had been set on /tmp. However this change caused unexpected failures in certain environments.
1 parent d2c44c5 commit 9b686a3

File tree

1 file changed

+1
-2
lines changed
  • lib/puppet/provider/docker_compose

1 file changed

+1
-2
lines changed

lib/puppet/provider/docker_compose/ruby.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
end
1515

1616
has_command(:docker_compose, command(:dockercompose)) do
17-
Dir.mkdir('/tmp_docker') unless Dir.exist?('/tmp_docker')
18-
ENV.store('TMPDIR', '/tmp_docker')
17+
environment(HOME: '/root')
1918
end
2019

2120
def exists?

0 commit comments

Comments
 (0)