Closed jonasbn closed 2 years ago
On the first image you install aspell with this code
RUN apt-get update && apt-get install -y \
aspell \
&& rm -rf /var/lib/apt/lists/*
On the second image you parse the ARG
$(echo "$SPELLCHECK_LANGS" | sed 's/,/ /g' | xargs printf -- 'aspell-%s\n')
So the final command became
RUN apt-get update && apt-get install -y \
aspell \
aspell-en aspell-de
This forces the install of the languages as system packages. So you should do it on the first image.
Currently this is patched via PR #56 addressing issue #55.
But the problem is still there and something in the multi-stage build does not work as expected.