Commit 28fba015 authored by Daniel Duarte's avatar Daniel Duarte
Browse files

Merge branch 'testPy2' into 'testPy'

Test py2

See merge request R3/apps/spellchecker!1
parents 8df76fe6 c83822dd
Pipeline #17585 passed with stage
in 1 minute
FROM bash AS bash
FROM buildpack-deps:jessie-curl
ENV ASPELL_SERVER ftp://ftp.gnu.org/gnu/aspell
ENV ASPELL_VERSION 0.60.8
ENV ASPELL_EN 2019.10.06-0
RUN apt-get update && apt-get install -y --no-install-recommends build-essential
RUN curl -SLO "${ASPELL_SERVER}/aspell-${ASPELL_VERSION}.tar.gz"
RUN curl -SLO "${ASPELL_SERVER}/dict/en/aspell6-en-${ASPELL_EN}.tar.bz2"
RUN tar -xzf "/aspell-${ASPELL_VERSION}.tar.gz"
RUN tar -xjf "/aspell6-en-${ASPELL_EN}.tar.bz2"
WORKDIR "/aspell-${ASPELL_VERSION}"
RUN ./configure
RUN make
RUN make install
RUN ldconfig
WORKDIR "/aspell6-en-${ASPELL_EN}"
RUN ./configure
RUN make
RUN make install
WORKDIR /
RUN aspell --version
FROM git-r3lab.uni.lu:4567/r3/apps/spellchecker:aspell-0.60.8 as aspell
# use proprietary image to test
ADD ./spellchecker .
CMD bash test_spell_check.sh
\ No newline at end of file
......@@ -5,12 +5,17 @@ set -e
function readAspellOptions {
options=`cat aspellOptions.txt`
aspellOptions+=$options
echo "using the following aspell command:"
echo $aspellOptions
echo
}
echo "Spell checking"
spell_check_code=0
version=`aspell --version`
echo $version
aspellOptions="aspell "
readAspellOptions
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment