2022-02-17 13:56:21 +00:00
|
|
|
FROM python:3.10-slim-buster
|
2020-04-23 13:48:27 +00:00
|
|
|
|
|
|
|
WORKDIR /app/
|
|
|
|
|
2020-07-12 17:47:29 +00:00
|
|
|
RUN apt-get update && \
|
2020-08-16 20:53:11 +00:00
|
|
|
apt-get install -y e2fsprogs btrfs-progs xfsprogs && \
|
2020-07-12 17:47:29 +00:00
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2020-04-23 13:48:27 +00:00
|
|
|
ENV PIP_NO_CACHE_DIR 1
|
|
|
|
ADD ./requirements.txt ./
|
|
|
|
RUN pip install -r ./requirements.txt
|
|
|
|
|
|
|
|
ADD ./ ./
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/bin/env", "python3", "/app/rawfile.py"]
|
|
|
|
CMD ["csi-driver"]
|
2020-04-23 20:27:12 +00:00
|
|
|
ENV PYTHONUNBUFFERED 1
|
2020-05-29 14:50:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
ARG IMAGE_TAG
|
|
|
|
ARG IMAGE_REPOSITORY
|
|
|
|
ENV IMAGE_REPOSITORY ${IMAGE_REPOSITORY}
|
|
|
|
ENV IMAGE_TAG ${IMAGE_TAG}
|