Skip to content

Commit bed7779

Browse files
committed
Debian base image - Move from 3.7-slim-stretch to 3.7-slim-buster
1 parent 9469553 commit bed7779

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# BUILD: docker build --rm -t puckel/docker-airflow .
55
# SOURCE: https://github.com/puckel/docker-airflow
66

7-
FROM python:3.7-slim-stretch
7+
FROM python:3.7-slim-buster
88
LABEL maintainer="Puckel_"
99

1010
# Never prompt the user for choices on installation/configuration of packages

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This repository contains **Dockerfile** of [apache-airflow](https://github.com/a
1010

1111
## Informations
1212

13-
* Based on Python (3.7-slim-stretch) official Image [python:3.7-slim-stretch](https://hub.docker.com/_/python/) and uses the official [Postgres](https://hub.docker.com/_/postgres/) as backend and [Redis](https://hub.docker.com/_/redis/) as queue
13+
* Based on Python (3.7-slim-buster) official Image [python:3.7-slim-buster](https://hub.docker.com/_/python/) and uses the official [Postgres](https://hub.docker.com/_/postgres/) as backend and [Redis](https://hub.docker.com/_/redis/) as queue
1414
* Install [Docker](https://www.docker.com/)
1515
* Install [Docker Compose](https://docs.docker.com/compose/install/)
1616
* Following the Airflow release from [Python Package Index](https://pypi.python.org/pypi/apache-airflow)
@@ -124,7 +124,7 @@ You can also use this to run a bash shell or any other command in the same envir
124124

125125
# Simplified SQL database configuration using PostgreSQL
126126

127-
If the executor type is set to anything else than *SequentialExecutor* you'll need an SQL database.
127+
If the executor type is set to anything else than *SequentialExecutor* you'll need an SQL database.
128128
Here is a list of PostgreSQL configuration variables and their default values. They're used to compute
129129
the `AIRFLOW__CORE__SQL_ALCHEMY_CONN` and `AIRFLOW__CELERY__RESULT_BACKEND` variables when needed for you
130130
if you don't provide them explicitly:
@@ -133,16 +133,16 @@ if you don't provide them explicitly:
133133
|---------------------|---------------|----------------------|
134134
| `POSTGRES_HOST` | `postgres` | Database server host |
135135
| `POSTGRES_PORT` | `5432` | Database server port |
136-
| `POSTGRES_USER` | `airflow` | Database user |
136+
| `POSTGRES_USER` | `airflow` | Database user |
137137
| `POSTGRES_PASSWORD` | `airflow` | Database password |
138138
| `POSTGRES_DB` | `airflow` | Database name |
139139
| `POSTGRES_EXTRAS` | empty | Extras parameters |
140140

141-
You can also use those variables to adapt your compose file to match an existing PostgreSQL instance managed elsewhere.
141+
You can also use those variables to adapt your compose file to match an existing PostgreSQL instance managed elsewhere.
142142

143143
Please refer to the Airflow documentation to understand the use of extras parameters, for example in order to configure
144144
a connection that uses TLS encryption.
145-
145+
146146
Here's an important thing to consider:
147147

148148
> When specifying the connection as URI (in AIRFLOW_CONN_* variable) you should specify it following the standard syntax of DB connections,
@@ -156,13 +156,13 @@ Therefore you must provide extras parameters URL-encoded, starting with a leadin
156156

157157
If the executor type is set to *CeleryExecutor* you'll need a Celery broker. Here is a list of Redis configuration variables
158158
and their default values. They're used to compute the `AIRFLOW__CELERY__BROKER_URL` variable for you if you don't provide
159-
it explicitly:
159+
it explicitly:
160160

161161
| Variable | Default value | Role |
162162
|-------------------|---------------|--------------------------------|
163163
| `REDIS_PROTO` | `redis://` | Protocol |
164164
| `REDIS_HOST` | `redis` | Redis server host |
165-
| `REDIS_PORT` | `6379` | Redis server port |
165+
| `REDIS_PORT` | `6379` | Redis server port |
166166
| `REDIS_PASSWORD` | empty | If Redis is password protected |
167167
| `REDIS_DBNUM` | `1` | Database number |
168168

0 commit comments

Comments
 (0)