Commit 44d2e86d authored by Daniel Duarte's avatar Daniel Duarte
Browse files

test new FROM

parent 3ab96ac2
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
ADD ./spellchecker .
CMD bash test_spell_check.sh
\ No newline at end of file
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