Mercurial > gemma
changeset 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 | ca9bd1ce26e5 |
children | 8e8523282853 |
files | docker/Dockerfile.spa |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/docker/Dockerfile.spa Thu Dec 13 14:57:39 2018 +0100 +++ b/docker/Dockerfile.spa Thu Dec 13 15:34:18 2018 +0100 @@ -6,10 +6,11 @@ RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list RUN apt-get update &&\ - apt-get -y install --no-install-recommends curl gnupg nodejs make mercurial + apt-get -y install --no-install-recommends \ + curl ca-certificates gnupg nodejs make mercurial # Install yarn -RUN curl https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&\ +RUN curl https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\ echo 'deb https://dl.yarnpkg.com/debian/ stable main' >> \ /etc/apt/sources.list &&\ apt-get update &&\