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 added a project: Servers.
dereckson added a subscriber: dereckson.
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.

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)
This comment was removed by dereckson.

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 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.Jan 14 2020, 14:40

We need this, tools is currently down.

DNS change

tools.nasqueron.org. 86400 IN CNAME www5.nasqueron.org.
_acme-challenge.tools.nasqueron.org. 172800 IN CNAME 2a37c286-deed-4a19-b265-89f605717695.acme.nasqueron.org.

TLS certificate

Certificate generated on docker-002, with DNS method.

Next step: nginx configuration inside the container