Use debian as base image.
This commit is contained in:
parent
6c965c7214
commit
73a122f7fb
50
Dockerfile
50
Dockerfile
@ -1,32 +1,32 @@
|
|||||||
FROM python:3.6-alpine as base
|
FROM python:3.6-stretch as base
|
||||||
|
|
||||||
|
RUN aptitude update
|
||||||
|
RUN aptitude install \
|
||||||
|
build-essentials git make gcc libtool libmhash-dev asciidoc
|
||||||
|
|
||||||
RUN apk add --no-cache --virtual .build-deps \
|
|
||||||
git make gcc musl-dev asciidoc \
|
|
||||||
\
|
|
||||||
# Install deps
|
# Install deps
|
||||||
&& pip install snakeoil \
|
RUN pip install snakeoil
|
||||||
&& pip install git+https://github.com/dol-sen/pyDeComp \
|
|
||||||
\
|
RUN pip install git+https://github.com/dol-sen/pyDeComp
|
||||||
|
|
||||||
# Clone catalyst repository
|
# Clone catalyst repository
|
||||||
&& git clone https://anongit.gentoo.org/git/proj/catalyst.git catalyst \
|
RUN git clone https://anongit.gentoo.org/git/proj/catalyst.git catalyst
|
||||||
\
|
|
||||||
# Build and install catalyst
|
# Build and install catalyst
|
||||||
&& cd /catalyst \
|
WORKDIR /catalyst
|
||||||
&& make \
|
RUN make && python -m setup install
|
||||||
&& python -m setup install \
|
|
||||||
\
|
# Get and uncompress shash
|
||||||
# Get shash
|
WORKDIR /
|
||||||
&& cd / \
|
RUN wget ftp://mcrypt.hellug.gr/pub/mcrypt/shash/shash-0.2.6.tar.gz \
|
||||||
&& wget ftp://mcrypt.hellug.gr/pub/mcrypt/shash/shash-0.2.6.tar.gz \
|
&& tar xvzf shash-0.2.6.tar.gz
|
||||||
&& tar xvzf shash-0.2.6.tar.gz \
|
|
||||||
&& cd shash-0.2.6 \
|
# Build shash
|
||||||
&& ./configure --build=x86_64 \
|
WORKDIR shash-0.2.6
|
||||||
&& make && make install \
|
RUN cp /usr/share/libtool/build-aux/missing ./ \
|
||||||
\
|
&& ./configure && make && make install \
|
||||||
# Cleanup
|
|
||||||
&& cd / \
|
WORKDIR /
|
||||||
&& rm -Rf catalyst \
|
|
||||||
&& apk del .build-deps
|
|
||||||
|
|
||||||
FROM python:3.6-alpin as base
|
FROM python:3.6-alpin as base
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user