Add docker image

master
Davide Polonio 2021-05-19 23:05:41 +02:00
parent a97b7851be
commit 0d63e8dda4
1 changed files with 26 additions and 0 deletions

26
Dockerfile Normal file
View File

@ -0,0 +1,26 @@
FROM buildpack-deps:stable-scm
ARG ASPELL_SERVER=ftp://ftp.gnu.org/gnu/aspell
ARG ASPELL_VERSION=0.60.8
ARG ASPELL_EN=2019.10.06-0
RUN apt-get update && apt-get install -y --no-install-recommends build-essential \
&& curl -SLO "${ASPELL_SERVER}/aspell-${ASPELL_VERSION}.tar.gz" \
&& curl -SLO "${ASPELL_SERVER}/dict/en/aspell6-en-${ASPELL_EN}.tar.bz2" \
&& tar -xzf "/aspell-${ASPELL_VERSION}.tar.gz" \
&& tar -xjf "/aspell6-en-${ASPELL_EN}.tar.bz2" \
&& cd "/aspell-${ASPELL_VERSION}" \
&& ./configure \
&& make \
&& make install \
&& ldconfig \
&& cd "/aspell6-en-${ASPELL_EN}" \
&& ./configure \
&& make \
&& make install \
&& apt-get purge -y build-essential \
&& apt-get autoremove -y \
&& apt-get autoclean -y \
&& rm -rf /aspell* /var/lib/apt/lists/*
ENTRYPOINT ["aspell"]