Permalink
Browse files

ci - Add Debian 9

  • Loading branch information...
phibos committed Apr 13, 2017
1 parent b710dda commit a6f9b2bfb7e8e059ae3f58d6b1761d7f75199e1f
@@ -0,0 +1,34 @@
FROM debian:9
ENV DEBIAN_FRONTEND noninteractive
# Speedup
RUN echo 'force-unsafe-io' | tee /etc/dpkg/dpkg.cfg.d/02apt-speedup && \
echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true";};' | tee /etc/apt/apt.conf.d/no-cache && \
echo 'Acquire::http {No-Cache=True;};' | tee /etc/apt/apt.conf.d/no-http-cache
RUN apt-get update && \
apt-get install -y \
build-essential \
libffi-dev \
&& \
apt-get clean
RUN apt-get install -y \
python \
python-dev \
python-pip \
&& \
apt-get clean
RUN apt-get install -y \
automake \
autoconf \
libtool \
&& \
apt-get clean
COPY . /code
RUN cd /code && \
BUILD_LIB=1 pip install . && \
pip install pytest && \
py.test
@@ -0,0 +1,34 @@
FROM debian:9
ENV DEBIAN_FRONTEND noninteractive
# Speedup
RUN echo 'force-unsafe-io' | tee /etc/dpkg/dpkg.cfg.d/02apt-speedup && \
echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true";};' | tee /etc/apt/apt.conf.d/no-cache && \
echo 'Acquire::http {No-Cache=True;};' | tee /etc/apt/apt.conf.d/no-http-cache
RUN apt-get update && \
apt-get install -y \
build-essential \
libffi-dev \
&& \
apt-get clean
RUN apt-get install -y \
python \
python-dev \
python-pip \
&& \
apt-get clean
RUN apt-get install -y \
libfuzzy-dev \
&& \
apt-get clean
COPY . /code
RUN cd /code && \
BUILD_LIB=0 pip install . && \
pip install pytest && \
py.test
@@ -0,0 +1,34 @@
FROM debian:9
ENV DEBIAN_FRONTEND noninteractive
# Speedup
RUN echo 'force-unsafe-io' | tee /etc/dpkg/dpkg.cfg.d/02apt-speedup && \
echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true";};' | tee /etc/apt/apt.conf.d/no-cache && \
echo 'Acquire::http {No-Cache=True;};' | tee /etc/apt/apt.conf.d/no-http-cache
RUN apt-get update && \
apt-get install -y \
build-essential \
libffi-dev \
&& \
apt-get clean
RUN apt-get install -y \
python3 \
python3-dev \
python3-pip \
&& \
apt-get clean
RUN apt-get install -y \
automake \
autoconf \
libtool \
&& \
apt-get clean
COPY . /code
RUN cd /code && \
BUILD_LIB=1 pip3 install . && \
pip3 install pytest && \
py.test
@@ -0,0 +1,32 @@
FROM debian:9
ENV DEBIAN_FRONTEND noninteractive
# Speedup
RUN echo 'force-unsafe-io' | tee /etc/dpkg/dpkg.cfg.d/02apt-speedup && \
echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true";};' | tee /etc/apt/apt.conf.d/no-cache && \
echo 'Acquire::http {No-Cache=True;};' | tee /etc/apt/apt.conf.d/no-http-cache
RUN apt-get update && \
apt-get install -y \
build-essential \
libffi-dev \
&& \
apt-get clean
RUN apt-get install -y \
python3 \
python3-dev \
python3-pip \
&& \
apt-get clean
RUN apt-get install -y \
libfuzzy-dev \
&& \
apt-get clean
COPY . /code
RUN cd /code && \
BUILD_LIB=0 pip3 install . && \
pip3 install pytest && \
py.test

0 comments on commit a6f9b2b

Please sign in to comment.