File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C3173AA6 A
7575 google-chrome-stable \
7676 libpq-dev \
7777 nginx \
78- python-dev \
78+ python3-dev \
79+ python3-pip \
7980 ghostscript \
8081 poppler-utils \
8182 tesseract-ocr && \
@@ -86,11 +87,7 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C3173AA6 A
8687 gem install bundler && \
8788 \
8889 # Install AWS CLI to local user
89- curl -s "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" && \
90- unzip awscli-bundle.zip && \
91- ./awscli-bundle/install -b ~/bin/aws && \
92- rm awscli-bundle.zip && \
93- rm -r awscli-bundle && \
90+ pip3 install awscli && \
9491 \
9592 # Update ImageMagick policy to allow `convert` to convert PDF files to TIFF for OCR
9693 sed -i 's+<policy domain="coder" rights="none" pattern="PDF" />+<policy domain="coder" rights="read" pattern="PDF" />+g' /etc/ImageMagick-6/policy.xml && \
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ ENV LC_ALL en_US.UTF-8
1717ENV RUBY_VERSION 2.4
1818
1919RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C3173AA6 && \
20- echo deb http ://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main > /etc/apt/sources.list.d/pgdg.list && \
20+ echo deb https ://apt-archive .postgresql.org/pub/repos/apt/ trusty-pgdg main > /etc/apt/sources.list.d/pgdg.list && \
2121 mkdir -p /usr/share/man/man1 && mkdir -p /usr/share/man/man7 && \
2222 echo deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu trusty main > /etc/apt/sources.list.d/brightbox-ruby-ng-trusty.list && \
2323 apt-get update -q && apt-get install -yq --no-install-recommends ca-certificates curl \
@@ -32,16 +32,13 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C3173AA6 &
3232 build-essential \
3333 git \
3434 procps \
35- python -dev \
36- python -pip \
35+ python3 -dev \
36+ python3 -pip \
3737 jq && \
3838 rm -rf /usr/share/man/man1 && \
3939 rm -rf /usr/share/man/man7 && \
4040 # Install AWS CLI
41- python -m pip install -U pip && \
42- pip install -U six && \
43- pip install awscli && \
44- pip install awsebcli && \
41+ pip3 install awscli && \
4542 # clean up
4643 rm -rf /var/lib/apt/lists/* && \
4744 truncate -s 0 /var/log/*log
You can’t perform that action at this time.
0 commit comments