Skip to content

Commit

Permalink
python 3.8 (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenrui333 authored and cristim committed Dec 15, 2019
1 parent 0057391 commit e067f0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,5 +1,5 @@
language: python
python: 3.7
python: 3.8
install:
- export BOTO_CONFIG=/dev/null
- pip install -r requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Expand Up @@ -2,20 +2,20 @@ FROM centos:7

MAINTAINER Sebastian Sasu <sebi@nologin.ro>

ENV PACKAGES python37-devel libxml2-devel libxslt-devel openssl-devel gcc
ENV PACKAGES python38-devel libxml2-devel libxslt-devel openssl-devel gcc

RUN yum -y install epel-release && \
yum -y update && \
yum -y install ${PACKAGES} && \
yum -y clean all && \
rm -rf /var/tmp/* /var/cache/yum/* /root/.cache && \
python3.7 -m ensurepip
python3.8 -m ensurepip

WORKDIR /opt/app

COPY requirements.txt .

RUN pip3.7 install -r requirements.txt
RUN pip3.8 install -r requirements.txt

COPY . .

Expand Down

0 comments on commit e067f0a

Please sign in to comment.