Skip to content

Commit

Permalink
Merge pull request #22 from GoogleCloudPlatform/unbuffered
Browse files Browse the repository at this point in the history
Adding PYTHONUNBUFFERED
  • Loading branch information
Jon Wayne Parrott committed May 25, 2016
2 parents 689e81e + e1c974e commit 1f66bbd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ RUN apt-get -q update && \

# Setup locale. This prevents Python 3 IO encoding issues.
ENV LANG C.UTF-8
# Make stdout/stderr unbuffered. This prevents delay between output and cloud
# logging collection.
ENV PYTHONUNBUFFERED 1

# Upgrade pip (debian package version tends to run a few version behind) and
# install virtualenv system-wide.
Expand Down

0 comments on commit 1f66bbd

Please sign in to comment.