potiuk commented on a change in pull request #6266: [AIRFLOW-2439] Production Docker image support including refactoring of build scripts - depends on [AIRFLOW-5704] URL: https://github.com/apache/airflow/pull/6266#discussion_r337015240
########## File path: Dockerfile ########## @@ -16,19 +16,17 @@ # WARNING: THIS DOCKERFILE IS NOT INTENDED FOR PRODUCTION USE OR DEPLOYMENT. # # Base image for the whole Docker file -ARG APT_DEPS_IMAGE="airflow-apt-deps-ci-slim" -ARG PYTHON_BASE_IMAGE="python:3.6-slim-stretch" +ARG PYTHON_BASE_IMAGE="python:3.6-slim-buster" +ARG NODE_BASE_IMAGE="node:12.11.1-buster" + ############################################################################################################ -# This is the slim image with APT dependencies needed by Airflow. It is based on a python slim image -# Parameters: -# PYTHON_BASE_IMAGE - base python image (python:x.y-slim-stretch) +# Base image for Airflow - contains dependencies used by both - Production and CI images ############################################################################################################ -FROM ${PYTHON_BASE_IMAGE} as airflow-apt-deps-ci-slim - +FROM ${PYTHON_BASE_IMAGE} as airflow-base SHELL ["/bin/bash", "-o", "pipefail", "-e", "-u", "-x", "-c"] -ARG PYTHON_BASE_IMAGE="python:3.6-slim-stretch" +ARG PYTHON_BASE_IMAGE="python:3.6-slim-buster" ENV PYTHON_BASE_IMAGE=${PYTHON_BASE_IMAGE} ARG AIRFLOW_VERSION="2.0.0.dev0" Review comment: True. Will review it and also see about MAINTAINERS and maybe other prod-foreseen commands of docker. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services