Dockerfile 533 B

123456789101112131415161718192021222324
  1. FROM reg.cestong.com.cn/cecf/py310
  2. RUN apt-get update && apt-get install -yq binutils libproj-dev sudo kafkacat xxd
  3. RUN useradd -m -d /home/cecf -G sudo -p cecf@cestong.com -u 1000 -s /bin/bash cecf
  4. RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
  5. EXPOSE 22
  6. EXPOSE 8686
  7. EXPOSE 8687
  8. EXPOSE 8688
  9. COPY ./aws /opt/aws
  10. WORKDIR /opt/aws
  11. RUN ./install
  12. USER root
  13. WORKDIR /
  14. ENV OBKAFKA kafka.observe.svc:9092
  15. ENV OBCLICKHOUSE clickhouse.observe.svc:8123
  16. ENV OBCLICKHOUSEPWD cecf@cestong.com
  17. CMD ["sh", "-c", "tail -f /dev/null"]