Skip to content

Commit

Permalink
🔧 Added PYTHONUNBUFFERED=1 as env in docker images to unbuffer logs
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanx64 committed Mar 20, 2024
1 parent d71759c commit fad75e2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-images/python3.10-slim.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.10-slim

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

LABEL maintainer="Sebastian Ramirez <[email protected]>"

Expand Down
1 change: 1 addition & 0 deletions docker-images/python3.10.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.10

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

LABEL maintainer="Sebastian Ramirez <[email protected]>"

Expand Down
1 change: 1 addition & 0 deletions docker-images/python3.11-slim.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.11-slim

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

LABEL maintainer="Sebastian Ramirez <[email protected]>"

Expand Down
1 change: 1 addition & 0 deletions docker-images/python3.11.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.11

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

LABEL maintainer="Sebastian Ramirez <[email protected]>"

Expand Down
1 change: 1 addition & 0 deletions docker-images/python3.7.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.7

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

LABEL maintainer="Sebastian Ramirez <[email protected]>"

Expand Down
1 change: 1 addition & 0 deletions docker-images/python3.8-slim.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.8-slim

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

LABEL maintainer="Sebastian Ramirez <[email protected]>"

Expand Down
1 change: 1 addition & 0 deletions docker-images/python3.8.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.8

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

LABEL maintainer="Sebastian Ramirez <[email protected]>"

Expand Down
1 change: 1 addition & 0 deletions docker-images/python3.9-slim.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.9-slim

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

LABEL maintainer="Sebastian Ramirez <[email protected]>"

Expand Down
1 change: 1 addition & 0 deletions docker-images/python3.9.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.9

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

LABEL maintainer="Sebastian Ramirez <[email protected]>"

Expand Down

0 comments on commit fad75e2

Please sign in to comment.