From 0d63e8dda47351652ef051bef02ad45ba0ff77cd Mon Sep 17 00:00:00 2001 From: Davide Polonio Date: Wed, 19 May 2021 23:05:41 +0200 Subject: [PATCH] Add docker image --- Dockerfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..222987d --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file