comparison docker/Dockerfile.spa @ 1579:2241f8710dcc

Fix client Dockerfile ca-certificates is needed to fetch the yarn key via https, but was not explicitly installed. Running as root does not require sudo and it is not explicitly installed.
author Tom Gottfried <tom@intevation.de>
date Thu, 13 Dec 2018 15:34:18 +0100
parents 6f2219d942d6
children ffc822700056
comparison
equal deleted inserted replaced
1578:ca9bd1ce26e5 1579:2241f8710dcc
4 licensing infos, see https://hg.intevation.de/gemma ." 4 licensing infos, see https://hg.intevation.de/gemma ."
5 5
6 RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list 6 RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list
7 7
8 RUN apt-get update &&\ 8 RUN apt-get update &&\
9 apt-get -y install --no-install-recommends curl gnupg nodejs make mercurial 9 apt-get -y install --no-install-recommends \
10 curl ca-certificates gnupg nodejs make mercurial
10 11
11 # Install yarn 12 # Install yarn
12 RUN curl https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&\ 13 RUN curl https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\
13 echo 'deb https://dl.yarnpkg.com/debian/ stable main' >> \ 14 echo 'deb https://dl.yarnpkg.com/debian/ stable main' >> \
14 /etc/apt/sources.list &&\ 15 /etc/apt/sources.list &&\
15 apt-get update &&\ 16 apt-get update &&\
16 apt-get -y install yarn 17 apt-get -y install yarn
17 18