fix updating DSS download-url environment
Signed-off-by: Artur Pedziwilk artur.pedziwilk@id.ethz.ch
Merge request reports
Activity
- hub/Dockerfile-openbis-debian 0 → 100644
35 apt-get install -y apt-utils && \ 36 # Apache installation used by openbis 37 apt-get install -y apache2 libapache2-mod-wsgi-py3 python-dev && \ 38 # install java 39 apt-get remove -y openjdk-11* && \ 40 apt-get install -y openjdk-17-jre && \ 41 # openbis and store directory 42 mkdir -p /home/openbis/openbis && chown -R openbis /home/openbis/openbis && \ 43 mkdir -p /home/openbis/store && chown -R openbis /home/openbis/store && \ 44 mkdir -p /home/openbis/openbis/data && chown -R openbis /home/openbis/openbis/data && \ 45 # Unzip tarball 46 tar -xvzf /home/openbis/"$OPENBIS_DISTRIBUTABLE".tar.gz -C /home/openbis/ && \ 47 # Delete tarball 48 rm -rf /home/openbis/"$OPENBIS_DISTRIBUTABLE".tar.gz && \ 49 # Updating the installer console.properties to install with sensible defaults 50 sed -i "s/^INSTALL_PATH.*/INSTALL_PATH= \/home\/openbis\/openbis\//g" /home/openbis/"$OPENBIS_DISTRIBUTABLE"/console.properties && \ Consider using some cli utility to replace parameters. It is less brittle than using sed. E.g: https://github.com/empa-scientific-it/properties-updater
Please register or sign in to reply