This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new a29887451f Remove airflow user from `Dockerfile.ci` (#31970)
a29887451f is described below
commit a29887451fa4807e56fb60e9ef72af4bcdf4924f
Author: Shahar Epstein <[email protected]>
AuthorDate: Sun Jun 18 07:43:26 2023 +0300
Remove airflow user from `Dockerfile.ci` (#31970)
---
Dockerfile.ci | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/Dockerfile.ci b/Dockerfile.ci
index a8eb998fa2..5d77cafa0b 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1268,12 +1268,7 @@ ENV HOME=${HOME} \
RUN bash /scripts/docker/install_mysql.sh prod \
&& bash /scripts/docker/install_mysql.sh dev \
&& bash /scripts/docker/install_mssql.sh \
- && bash /scripts/docker/install_postgres.sh dev \
- && adduser --gecos "First Last,RoomNumber,WorkPhone,HomePhone"
--disabled-password \
- --quiet "airflow" --home "/home/airflow" \
- && echo -e "airflow\nairflow" | passwd airflow 2>&1 \
- && echo "airflow ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/airflow \
- && chmod 0440 /etc/sudoers.d/airflow
+ && bash /scripts/docker/install_postgres.sh dev
# Install Helm
ARG HELM_VERSION="v3.9.4"