diff --git a/osect_sensor/Infrastructure/edge_cron/Dockerfile b/osect_sensor/Infrastructure/edge_cron/Dockerfile index 1ca0787..5c6e95e 100755 --- a/osect_sensor/Infrastructure/edge_cron/Dockerfile +++ b/osect_sensor/Infrastructure/edge_cron/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:22.04 As build-env +FROM debian:bullseye-slim As build-env ENV LANG C.UTF-8 ENV TZ Asia/Tokyo ENV DEBIAN_FRONTEND noninteractive @@ -56,9 +56,9 @@ RUN apt-get update \ # pip関係のインストール WORKDIR /home/work RUN apt-get purge -y python3-yaml \ - && python3.10 -m pip install --upgrade pip --no-cache-dir \ - && python3.10 -m pip install setuptools==59.8.0 --no-cache-dir \ - && python3.10 -m pip install -r requirements.txt --no-cache-dir + && python3.9 -m pip install --upgrade pip --no-cache-dir \ + && python3.9 -m pip install setuptools==59.8.0 --no-cache-dir \ + && python3.9 -m pip install -r requirements.txt --no-cache-dir WORKDIR /home/work # Yafのインストール