Commit 157ef2f3 authored by Pablo Panero's avatar Pablo Panero
Browse files

docker: remove unused scripts

parent b335d7b1
#!/usr/bin/env bash
set -o errexit
set -o nounset
npm update && npm install --silent -g node-sass@3.8.0 clean-css@3.4.19 uglify-js@2.7.3 requirejs@2.2.0
# If set install devel, else install prod
if [ -n "${DEVEL-}" ]; then
yum install -y git
pip install -r requirements-devel.txt
pip install -r requirements.txt
pip install -e .[all,postgresql,elasticsearch6]
# Needed for invenio-admin UI
invenio npm
export BACKPATH=$(pwd)
npm install
invenio collect -v
invenio assets build
mv /code/static/${LOGO_PATH} ${INVENIO_INSTANCE_PATH}/static/${LOGO_PATH}
# PID File for uWSGI
touch /code/
chmod 666 /code/
#!/usr/bin/env bash
# Needed for getpwuid() from python
# Doc
# At "Support Arbitrary User IDs"
if ! whoami &> /dev/null; then
if [ -w /etc/passwd ]; then
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment