Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
[HDX-7970] bump alpine to 3.14 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorescuserban committed Nov 12, 2021
1 parent 978e9b9 commit 745b9d0
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
FROM unocha/alpine-base-s6-python2:3.8
FROM public.ecr.aws/unocha/python2-base-s6:2

WORKDIR /srv/dataproxy

COPY . .

RUN apk add --update-cache \
git \
py-lxml \
libxml2 \
libxslt \
libffi-dev && \
apk add --virtual .build-deps \
build-base \
libxml2-dev \
libxslt-dev \
python2-dev && \
pip install --upgrade \
pip \
lxml \
gunicorn \
gevent \
html5lib \
xlrd==1.2.0 \
python-dateutil==2.8.0 \
Expand All @@ -24,13 +31,7 @@ RUN apk add --update-cache \
# this is done through actions./checkout && \
# git submodule init dataproxy && \
# git submodule update dataproxy && \
apk add --update-cache \
build-base \
python-dev && \
pip install gevent && \
apk del \
build-base \
python-dev && \
apk del .build-deps && \
rm -r /root/.cache && \
rm -rf /var/cache/apk/*

Expand Down

0 comments on commit 745b9d0

Please sign in to comment.