Skip to content

Commit e181f84

Browse files
committed
Removed touch+chmod docker.sock because must be executed on host (not on container)
1 parent 242a9a8 commit e181f84

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,9 @@ RUN apt-get update \
7979
# Instala certificado `Thawte` intermediário
8080
RUN curl https://ssltools.digicert.com/chainTester/webservice/validatecerts/certificate?certKey=issuer.intermediate.cert.98&fileName=Thawte%20RSA%20CA%202018&fileExtension=txt >> /home/airflow/.local/lib/python3.9/site-packages/certifi/cacert.pem
8181

82-
# Ajusta permissão no arquivo sock para permitir leitura do airflow
83-
RUN touch /var/run/docker.sock
84-
RUN chmod 777 /var/run/docker.sock
8582

8683
USER airflow
84+
8785
RUN pip install --no-cache-dir --user 'apache-airflow[jdbc,microsoft.mssql,samba,google_auth,odbc]'==2.2.1 \
8886
&& pip install --no-cache-dir --user 'apache-airflow-providers-docker'==2.2.0
8987

0 commit comments

Comments
 (0)