From 48700ae9ea754bf973deb0d3ca63a1f0e02fa247 Mon Sep 17 00:00:00 2001 From: Ethan <63649819+kuma0128@users.noreply.github.com> Date: Tue, 4 Feb 2025 18:58:36 +0900 Subject: [PATCH] Fixes #18075: Dockerfile lint warning (#18077) * fix docker warning * for running actions --------- Co-authored-by: Akash Jain <15995028+akash-jain-10@users.noreply.github.com> --- docker/images/minimal-ubuntu/Dockerfile | 2 +- ingestion/Dockerfile | 2 +- ingestion/Dockerfile.ci | 2 +- ingestion/tests/integration/trino/hive/Dockerfile | 4 ++-- ingestion/tests/integration/trino/trino/Dockerfile | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/images/minimal-ubuntu/Dockerfile b/docker/images/minimal-ubuntu/Dockerfile index 5457d209599..5316f7f7597 100644 --- a/docker/images/minimal-ubuntu/Dockerfile +++ b/docker/images/minimal-ubuntu/Dockerfile @@ -15,7 +15,7 @@ FROM ubuntu:xenial-20210416 # environment variables -ENV DEBIAN_FRONTEND noninteractive +ENV DEBIAN_FRONTEND=noninteractive # update RUN apt update -y && \ diff --git a/ingestion/Dockerfile b/ingestion/Dockerfile index cc0df5ad259..810c46a2be8 100644 --- a/ingestion/Dockerfile +++ b/ingestion/Dockerfile @@ -1,4 +1,4 @@ -FROM mysql:8.3 as mysql +FROM mysql:8.3 AS mysql FROM apache/airflow:2.9.1-python3.10 USER root diff --git a/ingestion/Dockerfile.ci b/ingestion/Dockerfile.ci index f8433f776ca..906555afaf1 100644 --- a/ingestion/Dockerfile.ci +++ b/ingestion/Dockerfile.ci @@ -1,4 +1,4 @@ -FROM mysql:8.3 as mysql +FROM mysql:8.3 AS mysql FROM apache/airflow:2.9.1-python3.10 USER root diff --git a/ingestion/tests/integration/trino/hive/Dockerfile b/ingestion/tests/integration/trino/hive/Dockerfile index eb218fd1d48..576c37d40a3 100644 --- a/ingestion/tests/integration/trino/hive/Dockerfile +++ b/ingestion/tests/integration/trino/hive/Dockerfile @@ -2,8 +2,8 @@ ARG BASE_IMAGE=bitsondatadev/hive-metastore:latest FROM ${BASE_IMAGE} COPY conf/metastore-site.xml /opt/apache-hive-metastore-3.0.0-bin/conf/metastore-site.xml COPY entrypoint.sh /entrypoint.sh -ENV JDBC_CONNECTION_URL "" -ENV MINIO_ENDPOINT "" +ENV JDBC_CONNECTION_URL="" +ENV MINIO_ENDPOINT="" USER root RUN chmod +x /entrypoint.sh USER hive \ No newline at end of file diff --git a/ingestion/tests/integration/trino/trino/Dockerfile b/ingestion/tests/integration/trino/trino/Dockerfile index 87dd3e47bdc..98c0ab84592 100644 --- a/ingestion/tests/integration/trino/trino/Dockerfile +++ b/ingestion/tests/integration/trino/trino/Dockerfile @@ -1,5 +1,5 @@ ARG BASE_IMAGE FROM ${BASE_IMAGE} -ENV MINIO_ENDPOINT "" -ENV HIVE_METASTORE_URI "" +ENV MINIO_ENDPOINT="" +ENV HIVE_METASTORE_URI="" COPY etc /etc/trino \ No newline at end of file