Mercurial > gemma
view docker/Dockerfile.spa @ 4405:7657640f0c8d
Gracefully handle existing default login roles
If multiple databases are created in the same PostgreSQL cluster,
existing roles are now properly re-used. This also fixes running
database tests on a cluster that already has these roles, which
was broken since rev. 5e38667f740c, because it silently fixed a test
for existance of roles that failed if proper creation of the
role 'sysadmin' failed during setup of the test database.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 16 Sep 2019 19:58:13 +0200 |
parents | ffc822700056 |
children | da04fa72cee8 |
line wrap: on
line source
FROM ubuntu:bionic LABEL authors="tom@intevation.de" LABEL description="Contains software from gemma, for right holders and\ licensing infos, see https://hg.intevation.de/gemma ." RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list RUN apt-get update &&\ apt-get -y install --no-install-recommends \ curl ca-certificates gnupg nodejs make mercurial git # Install yarn 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 &&\ apt-get -y install yarn COPY ./client /opt/gemma/client COPY ./.hg /opt/gemma/.hg WORKDIR /opt/gemma/client EXPOSE 8080 CMD make -f Makefile.build dependencies && yarn serve