Created
April 1, 2021 17:25
-
-
Save csgordon/b143662dc5ab627f2f1a0e98e7fe73b2 to your computer and use it in GitHub Desktop.
Dockerfile for depccg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:focal-20200729 | |
# Core stuff | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update | |
# Apparently installing tzdata here explicitly avoids an interactive dialog later | |
RUN apt-get install -y apt-utils tzdata | |
RUN ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime | |
RUN dpkg-reconfigure -f noninteractive tzdata | |
#RUN ntpd -gq | |
#RUN service ntp start | |
RUN apt-get install -y wget curl gpg | |
RUN apt-get install -y aptitude | |
RUN apt-get install -y python3 | |
RUN apt-get install -y python3-pip | |
RUN pip3 install cython numpy | |
RUN pip3 install depccg | |
# Downloads default english model to /usr/local/lib/python3.8/dist-packages/depccg/models/tri_headfirst | |
RUN python3 -m depccg en download |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment