Go to file
2020-02-13 00:39:24 +01:00
.github/workflows Tests 2020-02-02 22:06:16 +01:00
etc Initial commit 2020-02-02 22:06:11 +01:00
examples Initial commit 2020-02-02 22:06:11 +01:00
scripts Initial commit 2020-02-02 22:06:11 +01:00
.gitignore Initial commit 2020-02-02 22:06:11 +01:00
build_node.sh Initial commit 2020-02-02 22:06:11 +01:00
build_php.sh Redis module, PEAR + PECL added into PHP 2020-02-13 00:39:24 +01:00
build_python.sh Initial commit 2020-02-02 22:06:11 +01:00
Dockerfile Redis module, PEAR + PECL added into PHP 2020-02-13 00:39:24 +01:00
LICENSE Create LICENSE 2020-02-02 22:07:48 +01:00
Makefile Redis module, PEAR + PECL added into PHP 2020-02-13 00:39:24 +01:00
README.md Initial commit 2020-02-02 22:06:11 +01:00
rosti.sh Fix no-tty tests 2020-02-03 11:34:14 +01:00
start.sh Initial commit 2020-02-02 22:06:11 +01:00
tests.sh Fix no-tty tests 2020-02-13 00:39:24 +01:00

Roští.cz Runtime

Runtime image designed for our hosting service. It's designed for multiple versions of Node.js, PHP and Python interpreters. It runs SSH, cron daemon and supervisord as process manager.

The goal of the image is to deliver versatile environment different kind of applications.

The image is based on Debian 10 Buster and it's size is around 2.5 GB when it's squashed.

** Supported languages **

  • Python 3.8.1
  • Node.js 13.7.0
  • Node.js 12.14.1
  • PHP 7.4.2

** Additional tools **

  • Memcached
  • Redis
  • crond
  • Supervisord
  • Nginx
  • Dropbear

Test

To run tests you can check integrated workflow, but all you need are those two commands:

make test

If you prefer Podman, use this command to build the image:

make DOCKER=podman test

This is useful in Fedora.

Additional info

Default user

Image uses system user app to run the application code.

SSH password

The image runs dropbear at start along crond and supervisord. If you want to set password for next start of the container, save it into this file:

/srv/.rosti

Dynamically it can be set like this:

echo "app:PASSWORD" | chpasswd