install python3-dev for python3 tests in docker (#4381)

This commit is contained in:
Brad Warren 2017-03-18 13:25:02 -07:00 committed by GitHub
parent 050d272272
commit c439057efa

View file

@ -20,10 +20,10 @@ WORKDIR /opt/certbot/src
# If <dest> doesn't exist, it is created along with all missing
# directories in its path.
# TODO: Install non-default Python versions for tox.
# TODO: Install Apache/Nginx for plugin development.
COPY letsencrypt-auto-source/letsencrypt-auto /opt/certbot/src/letsencrypt-auto-source/letsencrypt-auto
RUN /opt/certbot/src/letsencrypt-auto-source/letsencrypt-auto --os-packages-only && \
apt-get install python3-dev -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* \
/tmp/* \