Page MenuHomeDevCentral

Dockerize tools.nasqueron.org
Open, HighPublic

Description

Some tasks are needed to run tools. on Docker:

  • Routing issues
  • Provide configuration
  • Disable Gerrit tools
  • Jive
  • Valspeak
  • symlink node → nodejs
  • ensure we can generate bundle.js

Event Timeline

dereckson claimed this task.Oct 30 2017, 13:31
dereckson added a project: Servers.
dereckson added a subscriber: dereckson.
dereckson moved this task from Backlog to Working on on the Docker images board.Nov 3 2017, 10:58
dereckson added a subscriber: Thibaut120094.

Steps to provision the software:

$ git clone https://github.com/nasqueron/tools.nasqueron.org.git app
$ cd app
$ make

The makefile takes care to call composer install.

dereckson triaged this task as High priority.Nov 3 2017, 10:58
dereckson added a comment.EditedNov 3 2017, 12:54

There are some doubtful Node needs, if we want to keep that, we can:

$ apt-get update
$ apt-get install -y nodejs npm
$ npm install -g browserify
$ cd /var/wwwroot/default
$ make

(some React used by the gadgets sentence generators)

dereckson updated the task description. (Show Details)Nov 4 2017, 04:09
dereckson updated the task description. (Show Details)
dereckson updated the task description. (Show Details)Nov 4 2017, 20:18
This comment was removed by dereckson.
dereckson added a comment.EditedNov 4 2017, 21:12

fortune, valspeak, jive (gadgets/motd-variations)

RUN apt-get install freebsd-buildutils libfl-dev fortunes && \
    ln -s /usr/bin/freebsd-lex /usr/bin/lex && \
    cd /opt && wget http://dereckson.devio.us/software/valspeak/valspeak-1.0.tar.gz && \
    tar xzvf valspeak-1.0.tar.gz && cd valspeak-1.0 &&
    make && ln -s /opt/valspeak-1.0/valspeak /usr/bin/valspeak && \
    cd /opt && git clone https://devcentral.nasqueron.org/source/jive.git && cd jive && \
    make && ln -s /opt/jive/jive /usr/bin/jive

The freebsd-buildutils package provides lex, the libfl-dev packages provides libl.so to link against.

dereckson updated the task description. (Show Details)Nov 4 2017, 22:01
dereckson lowered the priority of this task from High to Normal.Nov 4 2017, 22:31

It's currently running, I'll check dependencies and release later.

Current image pushed to Docker Hub contains all the deps.

dereckson removed dereckson as the assignee of this task.Mar 8 2018, 21:07
dereckson raised the priority of this task from Normal to High.Tue, Jan 14, 14:40

We need this, tools is currently down.