henry-ht commented on issue #36231:
URL: https://github.com/apache/airflow/issues/36231#issuecomment-1889613854

   > any solution for mysql:5.7-debian?
   > 
   > my Dockerfile:
   > 
   > ```dockerfile
   > FROM mysql:5.7-debian
   > 
   > # http://mirrors.aliyun.com/debian
   > RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 
467B942D3A79BD29
   > 
   > RUN apt-get update && apt-get install -y --no-install-recommends \
   >         iputils-ping \
   >         vim-tiny \
   >         telnet \
   >         net-tools \
   >         pv \
   >         wget \
   >       && rm -rf /var/lib/apt/lists/*
   > 
   > COPY ./db-init.sql /docker-entrypoint-initdb.d/
   > 
   > EXPOSE 3306
   > ```
   
   my solucion
   
   `FROM mysql:5.7-debian
   
   # http://mirrors.aliyun.com/debian
   **RUN rm /etc/apt/sources.list.d/mysql.list**
   RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29
   
   RUN apt-get update && apt-get install -y --no-install-recommends \
           iputils-ping \
           vim-tiny \
           telnet \
           net-tools \
           pv \
           wget \
         && rm -rf /var/lib/apt/lists/*
   
   COPY ./db-init.sql /docker-entrypoint-initdb.d/
   
   EXPOSE 3306`


-- 
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]

Reply via email to