John Muehlhausen
11/15/2021, 5:09 PMKevin Kho
John Muehlhausen
11/15/2021, 5:16 PMJohn Muehlhausen
11/15/2021, 5:33 PMFROM ubuntu:18.04
RUN apt-get update -y && apt-get install -y tzdata
RUN printf 'tzdata tzdata/Areas select Etc\ntzdata tzdata/Zones/Etc select UTC\n' | debconf-set-selections
RUN dpkg-reconfigure -f noninteractive tzdata
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV HOME=/home/jovyan
WORKDIR /home/jovyan
CMD bash --login -c "source activate $USER_PREFECT_ENV; prefect agent local start --api <https://api.prefect.io> --no-hostname-label"
This agent uses a preconfigured python environment mounted via NFS