tritm94 opened a new issue, #31797:
URL: https://github.com/apache/airflow/issues/31797
### Apache Airflow version
2.6.1
### What happened
Install apache-airflow-providers-apache-hive version 6.1.0 by DockerFile but
I got error
**error: command 'gcc' failed: Permission denied**
This is my DockerFile script:
FROM apache/airflow:2.6.1-python3.8
USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
openjdk-11-jdk \
&& apt-get autoremove -yqq --purge \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* docker-context-files/*.whl
docker-context-files/*.tar.gz docker-context-files/*.txt || true
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
RUN usermod -g 0 airflow
USER airflow
COPY requirement.txt /requirement.txt
RUN pip3 install --user --upgrade pip
RUN pip install --user --no-cache-dir apache-airflow-upgrade-check
RUN pip install --no-cache-dir --user -r /requirement.txt
RUN pip install --user --no-cache-dir wheel setuptools --upgrade
RUN pip install --user --no-cache-dir "apache-airflow==${AIRFLOW_VERSION}"
apache-airflow-providers-apache-hive==6.1.0
RUN pip install --user --no-cache-dir "apache-airflow==${AIRFLOW_VERSION}"
apache-airflow-providers-apache-spark==4.1.0
RUN pip install --user --no-cache-dir "apache-airflow==${AIRFLOW_VERSION}"
apache-airflow-providers-apache-sqoop
### What you think should happen instead
_No response_
### How to reproduce
from airflow.providers.apache.hive.operators.hive import HiveOperator
### Operating System
Python
### Versions of Apache Airflow Providers
_No response_
### Deployment
Docker-Compose
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]